Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript String Object split Method

Removes text from a string.

Syntax: JScript String Object split Method

stringObj.split(rgExp)

Arguments: JScript String Object split Method

stringObj

The name of a String object. Required.

rgExp

A Regular Expression object containing the pattern to search for. Required.

Remarks: JScript String Object split Method

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

The method updates the RegExp object.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.