|
Hi, I haven't posted in a while but I am working on something new.
What I would like to do is read a text box string into the Mathematical Parser (MP) and then to examine it piece-by-piece to do its work. The problem is, how do I do that?
My text box variables will contain a command (single letter probably) and a list of delimited numbers. I've found that I can't delimit by space or comma as each of those causes problems but I guess I can live with some other character between each value I guess. Bur even with this I don't see any obvious tools inside the MP to slice and dice the text string.
The only thing I have thought of is to parse the text outside using the various -str* functions and build a one dimensional image that can be read element-by-element inside the MP. Before I take this approach any further, does anyone else have any other ideas of how to work with strings inside the MP?
Souphead.
|