URLHelper CorrectDomainName Method Kentico 8.1 API Reference
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.0.0.0 (8.1.5347.20411)

Return Value

Type: OnlineString
Corrected string
See Also