S > String.charCodeAt

String.charCodeAt

Syntax

myString.charCodeAt(index);

Arguments

index The number of the character for which the value is retrieved.

Description

Method; returns the value of the character specified by index. The returned value is a 16-bit integer from 0 to 65535.

This method is similar to string.charAt except that the returned value is for the character at a specific location, instead of a substring containing the character.

Player

Flash 5 or later.