StringArray.SplitSort Method

Top 

Description

Splits each element of the calling StringArray into columns based on the delimiter specified by an input String, then sorts the columns based on the precedence specified in an input Array. If no input Array is used, the first column will be sorted, reordering the other columns to maintain the relative positions of the array elements. Then reforms each row, using spaces or a second input String to merge the columns.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

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

 

Overload List

Signatures

Return Value

Description

StringArray.SplitSort(String stringArgument)

Variable

Splits each element of the calling StringArray into columns based on the delimiter specified by stringArgument, then sorts the first column in ascending order, reordering the other columns to maintain the relative positions of the array elements. Then reforms each row, using spaces to merge the columns.

StringArray.SplitSort(String stringArgument, Array arrayArgument)

Variable

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

StringArray.SplitSort(String stringArgument1, String stringArgument2)

Variable

Splits each element of the calling StringArray into columns based on the delimiter specified by stringArgument1, then sorts the first column in ascending order, reordering the other columns to maintain the relative positions of the array elements. Then reforms each row, using stringArgument2 to merge the columns.

StringArray.SplitSort(String stringArgument1, String stringArgument2, Array arrayArgument)

Variable

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.

 

 

See also

StringArray Object

Parsing Arbitrary String Data