S > String.charAt |  |

String.charAt

string, string.charat, charat, character at

Availability

Flash Player 5.

Usage

    myString.charAt(index)

Parameters

`index` The number of the character in the string to be returned.

Returns

A character.

Description

Method; returns the character in the position specified by the parameter `index`. The index of the first character in a string is 0. If `index` is not a number from 0 to `string.length` - 1, an empty string is returned.