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: 10.0.0
Syntax public static string CorrectDomainName(
string domainName
)
Parameters
- domainName
- Type: SystemString
String to correct
Return Value
Type:
StringCorrected string
See Also