Microsoft® JScript charCodeAt Method |
Language Reference Version 3 |
Returns the Unicode encoding of the specified character.
stringObj.charCodeAt(index)
The charCodeAt method syntax has these parts:
Part Description stringObj Required. A String object or literal. index Required. The zero-based index of the specified character.
If there is no character at the specified index, NaN is returned.