G
Guest
Hello there,
i am trying to parse a string expression. The expression looks like this
str = {cc, 1}+{cc, 2}
delimeters = '{', ',', '}'
ant i want to get the result:
cc
1
+
cc
2
Initially i used string.split(str, delimeters) but it returns spaces as
words. I tried Regex but unfortunately i didn't get it to work (or in other
words confused with \#[]#?* etc
Any help?
Thanks in advance...
Christos
i am trying to parse a string expression. The expression looks like this
str = {cc, 1}+{cc, 2}
delimeters = '{', ',', '}'
ant i want to get the result:
cc
1
+
cc
2
Initially i used string.split(str, delimeters) but it returns spaces as
words. I tried Regex but unfortunately i didn't get it to work (or in other
words confused with \#[]#?* etc
Any help?
Thanks in advance...
Christos