User Guide

substring 1099
substring
Availability
Flash Player 4. This function was deprecated in favor of String.substr().
Usage
substring("string", index, count)
Parameters
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.
Returns
Nothing.
Description
String function; extracts part of a string. This function is one-based, whereas the String object
methods are zero-based.
See also
String.substr()