URLHelper RemoveEmptyQueryParameters Method Kentico 8.1 API Reference
Removes empty query parameters. (eg. '?param=' -> '')

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

query
Type: OnlineSystem String
Query string to clean from empty parameters

Return Value

Type: OnlineString
Query string with no empty parameters
See Also