escape()

Encodes a string to be used in a query part of a URL.

This function is valid in v2.1.0 to v2.14.0. This function has been downloaded 43 times.

Parameter

{string} str
String to encode.

Returns

{string}
Encoded string that can be used in the query part of a URL.