Returns the character at the specified index.
Syntax
charAt( string , index )
string.charAt( index )
Parameters
string
|
the string to use.
|
index
|
the index into the specified string, [ 0 .. length - 1 ].
|
Returns
character
|
the character at the specified index.
|
Example
c = s.charAt( 2 )
|