Table of Contents

Method RemoveHttpAndWwwPrefixes

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

RemoveHttpAndWwwPrefixes(string?)

Removes the "http://", "https://" and "www." prefixes

public static string? RemoveHttpAndWwwPrefixes(string? input)

Parameters

input string

The input string to process.

Returns

string

The input string without the prefixes if any matched; otherwise, the original input.