Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Topic Locks Topic Locks

Search

History

10/4/2007 8:06:21 PM
-82.148.98.34
9/11/2007 12:59:49 PM
-202.156.13.2
5/30/2007 12:26:44 PM
-125.72.28.38
5/28/2007 6:16:46 AM
-69.136.148.27
5/4/2006 2:42:50 AM
-218.164.11.228
List all versions List all versions

RSS feed for the SquirrelWiki namespace

Tokenize
.

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");
        }
Not logged in. Log in

squirrel's community wiki

This is FlexWiki, an open source wiki engine.

Change Style

Recent Topics