<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > GeneralScript > Global > Method >_URLEncode |
Encodes a URL string with the given encoding type.
Prototype :
string _URLEncode
(
string Text,
[ string URLEncodingType ]
)
Arguments :
Text |
text to encode |
URLEncodingType |
encoding type the default is "utf-8" |
Reference :
For more about encoding types, refer to "http://www.iana.org/assignments/character-sets"
Return space character if invalid encoding type.
Example :
var encode = _URLEncode("FORCS");;
Available Events :
All Events