String.Split Method

Top 

Description

Splits a String into elements of a StringArray given a specified string delimiter. Returns the number of items in the newly populated StringArray

 

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.

 

Overload List

Signatures

Return Value

Description

String.Split(Array columnEndPositions)

StringArray

Splits the String into multiple elements based on the column widths specified by elements of columnEndPositions, and returns those elements.

String.Split(String delimiter)

StringArray

Splits the String into multiple elements based on the delimiter specified by delimiter, and returns those elements.

String.Split(Array columnEndPositions, StringArray results)

Variable

Splits the String into multiple elements based on the column widths specified by elements of columnEndPositions, and populates results with those elements.

String.Split(String delimiter, StringArray results)

Variable

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

 

 

See also

String Object

Parsing Dates and Times

Parsing Arbitrary String Data

Parsing Arbitrary String Data