Click or drag to resize
URLHelperCorrectDomainName Method
Removes white characters from the beginning and end. Also removes protocol declarations and 'www.' string from begin.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string CorrectDomainName(
	string domainName
)

Parameters

domainName
Type: SystemString
String to correct

Return Value

Type: String
Corrected string
See Also