percent-encode
returns URL percent-encoding of the given string
(string subject) -> string
Returns the URL percent-encoded version of given string.
Returns nil
if subject is nil
.
Parameters
Name | Type | Description |
---|---|---|
subject |
string | The string to encode |