Tokenize
Last changed: -82.148.98.34

.

orgetr

Summary

Minimalistic tokenize using split()

accepts a string with multiple valid separators.

returns tokens as an array of strings.

        local str = "1,2,3,123123;12312.";


        foreach( i,val in ::split(str,",;."))
        {
                ::print(val + "\n");
        }