URLEncode(
string:string,
[string:flags]
)
→ string
d | decode: decode string rather than encode |
g | google: encode for use with Google (space is converted to a + symbol) |
r | rfc: encode compliant with RFC (~.-_ characters are not encoded) |
Encodes or decodes a string using URL-encoding.
Example:
Output( URLEncode("File Name") ); --> File%20Name Output( URLEncode("File Name", "g") ); -> File+Name Output( URLEncode("File%20Name", "d") ); -> File Name