String encoding conversion operators

Tinderbox Icon

New v4.0.0 functions help convert strings to useful forms.

urlEncode converts a theString to urlEncoded for for the web. Characters that are illegal in URLs are encoded as '%' followed by the corresponding hexadecimal character code, e.g. a space = %20.

utf8 converts theString to Unicode.

escapeHTML converts HTML and XML special characters in theString to HTML/XML entities. For example, '<' is replaced by '&lt;' and '&' is replaced by '&amp;'.

These new functions will be useful in preparing data for use with other programs and Web services via runCommand().


Up: Actions & Rules
Previous: idEncode() operator   

[Last updated: 3 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox