S > String.split

String.split

Syntax

myString.split(delimiter);

Arguments

delimiter The character used to delimit the string.

Description

Method; splits a String object by breaking the string wherever the specified delimiter argument occurs, and returns the substrings in an array. If no delimiter is specified, the returned array contains only one element—the string itself. If the delimiter is an empty string, each character in the String object becomes an element in the array.

Player

Flash 5 or later.