S > substring

substring

Syntax

substring(string, index, count);

Arguments

string The string from which to extract the new string.

index The number of the first character to extract.

count The number of characters to include in the extracted string, not including the index character.

Description

String function; extracts part of a string.

Player

Flash 4 or later. This function has been deprecated in Flash 5.

See also

String.substring