Allows to pass a string of text to ASCII code.

1 string.toASCII

<string.toASCII>
    <object2string text /> +
</string.toASCII>

Exceptions

requires 1 arguments, received: ...

The entry parameter has not been specified.

Example

Pass to ASCII a string.

Copy
<xsql-script name='string_to_ASCII'>
    <body>
        <set name='b'>This IS a STRING OF characters.</set>
        <println><string.toASCII><b /></string.toASCII></println>
    </body>
</xsql-script>

Returns:

Copy
This IS a STRING OF characters.