String.charCodeAt
charCodeAt($index)
Description
Get the ASCII value of the character at $index
.
This is the opposite of String.charFromCode.
'abcdef'.charCodeAt(4); //= 101 (code for 'e')
Get the ASCII value of the character at $index
.
This is the opposite of String.charFromCode.
'abcdef'.charCodeAt(4); //= 101 (code for 'e')