Microsoft® JScript™
split Method
 Language Reference 
Version 3 

See Also                  Applies To


Description
Removes text from a string.
Syntax
stringObj.split(rgExp)

The split method syntax has these parts:

Part Description
stringObj Required. The String object or literal to remove text from. This object is not modified by the split method.
rgExp Required. A Regular Expression object describing what to remove.

Remarks
The result of the split method is a copy of stringObj after all successful matches have been removed.

The method updates the RegExp object.


© 1997 by Microsoft Corporation. All rights reserved.