Is there some function in BMax to manipulate strings like "scanf" function of C?
Or
Is there something similar to the pattern matching of OcaML?
the prblem is:
if i have a string "if(condition)then commands else commands endif",
how can i get an array with [condition, commands, commands] strings?
something like
mystring.isLike("if(*)then*else*endif") returning a string array with "*" strings?
or something like
match mystring with:
| if(b)then c else c2 -> [b, c, c2]
?
Or
Is there something similar to the pattern matching of OcaML?
the prblem is:
if i have a string "if(condition)then commands else commands endif",
how can i get an array with [condition, commands, commands] strings?
something like
mystring.isLike("if(*)then*else*endif") returning a string array with "*" strings?
or something like
match mystring with:
| if(b)then c else c2 -> [b, c, c2]
?