StringPrototype::split Method (Object^, VsaEngine^, Object^, Object^)
.NET Framework (current version)
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.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: [JSFunctionAttribute(JSFunctionAttributeEnum::None | JSFunctionAttributeEnum::HasThisObject | JSFunctionAttributeEnum::HasEngine, JSBuiltin::String_split)] 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
Available since 1.1
Show: