javascript String charAt( )
| charAt( ) | NN 2 IE 3 ECMA 1 |
charAt(positionIndex) | |
|
Returns a single character string of the character located at the zero-based index position passed as a parameter. Use this method instead of substring( ) when only one character from a known position is needed from a string. |
|
| Parameters | |
|
|
| Returned Value | |
A one-character string. In newer browser versions, an empty string is returned if the parameter value points to a character beyond the length of the string. |
|
Previous: javascript String charCodeAt( )
1776,Nickname,Homepage or email,Comments here,Add comment
