URLHelperCorrectDomainName Method |
Removes white characters from the beginning and end. Also removes protocol declarations and 'www.' string from begin.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static string CorrectDomainName(
string domainName
)
Parameters
- domainName
- Type: SystemString
String to correct
Return Value
Type:
StringCorrected string
See Also