Click or drag to resize
URLHelperGetUrlExtension Method
Gets the extension for the given URL. Returns the extension with the dot, e.g. ".gif"

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static string GetUrlExtension(
	string url
)

Parameters

url
Type: SystemString
URL to analyze

Return Value

Type: String
See Also