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

Definition

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.

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

public:
 static Microsoft::JScript::ArrayObject ^ split(System::Object ^ thisob, Microsoft::JScript::Vsa::VsaEngine ^ engine, System::Object ^ separator, System::Object ^ limit);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasEngine | Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_split)]
public static Microsoft.JScript.ArrayObject split (object thisob, Microsoft.JScript.Vsa.VsaEngine engine, object separator, object limit);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasEngine | Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_split)>]
static member split : obj * Microsoft.JScript.Vsa.VsaEngine * obj * obj -> Microsoft.JScript.ArrayObject
Public Shared Function split (thisob As Object, engine As VsaEngine, separator As Object, limit As Object) As ArrayObject

Parameters

thisob
Object

The object that this method is acting upon.

engine
VsaEngine

A reference to the scripting engine.

separator
Object

The characters that delimit the substrings in thisob.

limit
Object

The maximum number of substrings to return.

Returns

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

Attributes

Applies to

See also