PLAYGROUND (experimental)

str_url_encode

URL-encode a string with %20 for spaces.
str_url_encode(
    str
) -> STRING

URL-encode a string with %20 for spaces.

Syntaxe

var enc = str_url_encode("hello world"); // "hello%20world"

Arguments

NameTypeRequiredDefaultDescription
stryes-String to encode