URLHelperGetDomain Method |
Returns domain or domain with port if present from specific URL.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string GetDomain(
string url
)
Parameters
- url
- Type: SystemString
Input URL in format http(s)://domain
Return Value
Type:
StringSee Also