Click or drag to resize
URLHelperRemoveEmptyQueryParameters Method
Removes empty query parameters. (eg. '?param=' -> '')

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string RemoveEmptyQueryParameters(
	string query
)

Parameters

query
Type: SystemString
Query string to clean from empty parameters

Return Value

Type: String
Query string with no empty parameters
See Also