charAt()

Syntax:

charAt( index )

Return:

The character at the specifed index position.

Parameters:

index – a number or a variable containing a number. Index is zero-based index. This parameter is optional and will start at the beginning of the string if not entered.

image\Script_Button.jpgExamples