parse a string

BlitzMax Forums/BlitzMax Beginners Area/parse a string

BRL have integrated two new no documented String Method : Split and Join

Prototypes :
Method Split:String[]( separator$ )
Method Join:String( bits:String[] )

Example of use :
Local s$ = "Hello world"

Local ssplit$[] = s.split(" ")

For Local t$ = EachIn ssplit
	Print t$
Next

Local j$
Print j.Join(ssplit)