Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -0,0 +1,20 @@
|
|||
func$[] tokenize src$ sep$ esc$ .
|
||||
r$[] = [ "" ]
|
||||
for i = 1 to len src$
|
||||
c$ = substr src$ i 1
|
||||
if esc = 1
|
||||
r$[$] &= c$
|
||||
esc = 0
|
||||
else
|
||||
if c$ = sep$
|
||||
r$[] &= ""
|
||||
elif c$ = esc$
|
||||
esc = 1
|
||||
else
|
||||
r$[$] &= c$
|
||||
.
|
||||
.
|
||||
.
|
||||
return r$[]
|
||||
.
|
||||
print tokenize "one^|uno||three^^^^|four^^^|^cuatro|" "|" "^"
|
||||
Loading…
Add table
Add a link
Reference in a new issue