split()

Syntax:

split( separator, limit )

Return:

A new array.

Parameters:

separator – the character to use to separate the string. This parameter is optional and the return value will be one array element containing the entire string.

limit – an integer specifying a limit on the number of splits to be found. This parameter is optional.

Remarks:

This function will split a string into substrings by a specified separator. Each new substring is an element in the array.

image\Script_Button.jpgExamples