Siebel eScript Language Reference > Siebel eScript Commands > Clib Object Character Classification in Siebel eScript >
Clib.toascii() Method
This method translates a character into a seven-bit ASCII representation of the character. Syntax
Clib.toascii(char)
|
|
char |
A character literal, or a variable containing a character, to be translated |
Returns
A seven-bit ASCII representation of char. Usage
This method translates a character into a seven-bit ASCII representation of char. The translation is done by clearing every bit except for the lowest seven bits. If char is already a seven-bit ASCII character, it returns the character. Example
The following line of code returns the close-parenthesis character: TheApplication().RaiseErrorText(Clib.toascii("©"));
See Also
Clib.isascii() Method
|