This version is out of date, covering development as far as v4.2.5. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
A Tinderbox Reference File : Actions & Rules : String encoding conversion operators |
String encoding conversion operators |
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 '<' and '&' is replaced by '&'.
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 |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]