S > substring |
![]() ![]() ![]() |
substring
Availability
Flash Player 4. This function has been 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 1-based, whereas the String object methods are 0-based.
See also
![]() ![]() ![]() |