Link Search Menu Expand Document

UString.CharAt Method

Explanation Returns the character at the specified position.
Call format var n = str.CharAt( indx )
Return value Returns one character at the specified position as a UString type.
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.CharAt(3), "\n");
    
Related item CharCodeAt method