.SortArray (.string[] Objektmethoden)

.SortArray (.string[] Objektmethoden)

Beschreibung

Diese Funktion gibt die Reihenfolge des sortierten Array Strings zurück
Sorts the array in ascending order and returns the permutation of original indices. Works with integer[], float[], datetime[], and string[] arrays.

Argumente

Name

Typ

Beschreibung

Name

Typ

Beschreibung

 

-

 

Rückgabewert integer[]

Die Reihenfolge des Array Strings.

Beispiel

Text := ["Das", "ist", "ein", "Test!"];

Result = Text.SortArray();

Resultat: [0, 2, 1, 3]

Text := ["Das", "ist", "ein", "Test!"];

Result = Text.SortArray();

Resultat: [0, 2, 1, 3]