javascript String charCodeAt( )

charCodeAt( )NN 4 IE 4 ECMA 1  

charCodeAt(positionIndex)

  

Returns a number of the decimal Unicode value for the character located at the zero-based index position passed as a parameter. For common alphanumeric characters, the Unicode values are the same as ASCII values.

 
Parameters
 
index

A zero-based integer.

 
Returned Value

A positive integer. Returns NaN if the parameter value points to a character beyond the length of the string.


1777,Nickname,Homepage or email,Comments here,Add comment