Allows to pass a string of text to ASCII code.
1 string.toASCII
<string.toASCII>
<object2string text /> +
</string.toASCII>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eobject2string text | string |
Returns | |
---|---|
Type | Description |
string | Returns the text or string in ASCII code. |
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.