Click or drag to resize
URLHelperRemoveAnchorFromUrl Method
Removes the anchor from the given url.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static string RemoveAnchorFromUrl(
	string url,
	out string anchorValue
)

Parameters

url
Type: SystemString
The URL to be stripped.
anchorValue
Type: SystemString
Returns the anchor value (including the anchor symbol).

Return Value

Type: String
The URL without the anchor.
See Also