|
|
Not sure how parsing of a declared string helps. :-)
I was thinking you could test for the first letter of the identifiers, but
they would need to be declared or read in somehow. array maybe, like
Christoph suggests. Unfortunately, only way I know of is substr(ABC,1,1)
but no way to #if #else it since the string isn't possible as a conditional.
Unless you added numbers to the identifiers and used it via val().
There's also strlen() for getting a number of letters the identifier has,
instead. Those could be used conditionally then.
In any case it might not be an extremely simple process. If so I can't
think of it. You still have to test for each identifier in some repetitive
way.
bob h
Post a reply to this message
|
|