Link Search Menu Expand Document

UString.CharCodeAt Method

Explanation Returns the character code of the character at the specified position.
Call format var n = str.CharCodeAt( indx )
Return value Returns the Unicode character code as an integer value.
Arguments integer indx Position of the character to be extracted
Specify a number starting from 0.
Exception Func-4 Invalid argument
Example of use
var str = new UString("ABCDEF");
print(str.CharCodeAt(3), "\n");
    
Related item CharAt method