Version: v0.6.0 - Beta.  We welcome contributors & feedback.  THanks!

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')

See Also