split Method

StringPrototype.split Method (Object, VsaEngine, Object, Object)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns an array that contains the substrings in the specified object that are delimited by the specified characters. The number of substrings in the array is constrained by the specified limit.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

[JSFunctionAttribute(JSFunctionAttributeEnum.None | JSFunctionAttributeEnum.HasThisObject | JSFunctionAttributeEnum.HasEngine, 
	JSBuiltin.String_split)]
public static ArrayObject split(
	object thisob,
	VsaEngine engine,
	object separator,
	object limit
)

Parameters

thisob
Type: System.Object

The object that this method is acting upon.

engine
Type: Microsoft.JScript.Vsa.VsaEngine

A reference to the scripting engine.

separator
Type: System.Object

The characters that delimit the substrings in thisob.

limit
Type: System.Object

The maximum number of substrings to return.

Return Value

Type: Microsoft.JScript.ArrayObject

An array that contains the substrings in thisob that are delimited by separator.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft