Function: urlEncode()
urlEncode(
this
,left
):string
Return the input string with URL reserved characters percent-escaped. Also
replaces ' '
with '+'
.
Parameters
• this: FilterContext
An object containing a reference to the active render context and any keyword/named arguments.
• left: unknown
Any value. Will be coerced to a string if it's not one already.
Returns
string
The input string with URL reserved characters percent-escaped.