You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
325 B
18 lines
325 B
10 years ago
|
|
||
|
/* CHANGE THIS PATH TO WHERE "jade.h" IS LOCATED */
|
||
|
#include "jade.h"
|
||
|
|
||
|
MAIN
|
||
|
DIM CSTRING sep = " ";
|
||
|
DIM CSTRING s = "This is an example that should be split!";
|
||
|
DIM VECTOR<CSTRING> ret;
|
||
|
|
||
|
ret = SPLIT(s, sep);
|
||
|
|
||
|
FOR (UINT i = 0 TO i < ret.size() STEP i++) BEGIN
|
||
|
PRINT( ret[i] );
|
||
|
END
|
||
|
|
||
|
RETURN 0;
|
||
|
ENDMAIN
|