6 lines
143 B
Text
6 lines
143 B
Text
|
|
str = "one^|uno||three^^^^|four^^^|^cuatro|"
|
||
|
|
sep = "|"
|
||
|
|
esc = "^"
|
||
|
|
put tokenize(str, sep, esc)
|
||
|
|
-- ["one|uno", "", "three^^", "four^|cuatro", ""]
|