Strtok-v2-1.e problem
- Posted by Haflidi Asgrimsson <haflidi at prokaria.com> Mar 31, 2005
- 498 views
I'm parsing stings such as "1__2_3_4_5". I'm using Strtok-v2-1.e and what I want is a sequence like {"1","","2","4","5"}. The parse function of Strtok-v2-1.e gives me {"1","2","4","5"}. It splits the parse string into atoms so "__" gives the same as '_'. There doesn't seem to be any substring function in the standard library so I'm kind of stranded on this simple issue. Does anyone have a idea how to do this without writing a lot of code.