urlEncode

urlEncode ( string textOrUrl , boolean _excludeHttpCaracters , boolean _use%20insteadOf+ ) : string

Encodes URL-encoded string

Parameters

textOrUrl

text to encode

_excludeHttpCaracters (optional)

default:false
excludeHttpCaracters exclude :, / and # of the url decoding

See also

urlDecode

_use%20insteadOf+ (optional)

default:false
There are 2 formats for handling spaces in a URL. By default they are replaced by +, with this option you replace them by %20.