VirtualString.Split(String, StringArray) Method

Top 

Description

Splits the VirtualString into multiple elements based on the delimiter specified by delimiter, and populates results with those elements.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

VirtualString.Split(

String delimiter,


StringArray results)

 

 

Arguments

delimiter


Description:

The delimiter used to separate the parts of the String to split. If a multiple-character String is specified, each character will be used as a possible delimiter.

 

 

results


Description:

A StringArray to hold the results of the split.

 

 

 

Return Value

Type:

number

 

 

Returns the number of elements in the newly populated results.

 

Syntax

myVariable1 = myString1.ToLowercase().Split(myString2, myStringArray1);

 

 

See also

VirtualString Object

VirtualString.Split