Click or drag to resize
URLHelperCorrectDomainName Method

Note: This API is now obsolete.

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: 11.0.0
Syntax
C#
[ObsoleteAttribute("Method will be removed use custom logic instead.")]
public static string CorrectDomainName(
	string domainName
)

Parameters

domainName
Type: SystemString
String to correct

Return Value

Type: String
Corrected string
See Also