S > String.charAt

String.charAt

Syntax

myString.charAt(index);

Arguments

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

Description

Method; returns the character specified by the argument 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.

Player

Flash 5 or later.