StringArray.SplitSort(String, String, Array) Method

Top 

Description

Splits each element of StringArray into columns based on the delimiter specified by stringArgument1, then sorts the columns based on the precedence specified by arrayArgument. Then reforms each row, using stringArgument2 to merge the columns.

 

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

StringArray.SplitSort(

String stringArgument1,


String stringArgument2,


Array arrayArgument)

 

 

Arguments

stringArgument1


Description:

Delimiter to use when splitting the StringArray.

 

 

stringArgument2


Description:

Delimiter to use when re-merging the StringArray.

 

 

arrayArgument


Description:

Array used to specified the precedence of the columns to be sorted.

 

 

 

Return Value

Type:

number

 

 

Returns the number of rows in the calling StringArray.

 

Syntax

myVariable1 = myStringArray1.SplitSort(myString1, myString2, myArray1);

 

 

Example 1

 

 

See also

StringArray Object

StringArray.SplitSort

Parsing Arbitrary String Data