getHugeTokens

getHugeTokens(): HugeStringArray;

The getHugeTokens method of the String primitive type returns an array of the tokens in the receiver that have a length in the range 0 through 2047 characters. For details about tokens, see the getNextToken method.

The following example shows the use of the getHugeTokens method.

vars
    stringValue : String;
    hugeStringArray : HugeStringArray;
begin
    stringValue := 'this:is/a;string';
    hugeStringArray := stringValue.getHugeTokens;
    write hugeStringArray [1];        // Outputs this
    write hugeStringArray [2];        // Outputs is
    write hugeStringArray [3];        // Outputs a
    write hugeStringArray [4];        // Outputs string
end;