URLHelperRemoveEmptyQueryParameters Method |
Removes empty query parameters. (eg. '?param=' -> '')
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntaxpublic static string RemoveEmptyQueryParameters(
string query
)
Parameters
- query
- Type: SystemString
Query string to clean from empty parameters
Return Value
Type:
StringQuery string with no empty parameters
See Also