Here's a suggestion for the people at Witango. I love the way the
substring function of the PL/I language works. I'd like to see the Witango
substr metetag changed to work in a similar fashion. For example, if I
perform a locate at a particular spot in a string I would really like to be
able to perform a substring from that spot to the end of the string. Yes, I
know it can be done currently but I have to assign the start and the number
of characters I want. This means I have to calculate the number of
characters in the string I want to return. 

   What if the Numchars parameter were left off? I'd like to see Witango
default the numchars parameter to the remainder of the string based on the
starting position, much like PL/I does. That way the Substring metatag could
be coded <@Substring Str=<@Var Local$Somestring> Start=<@Var Local$Start>>
and you know you would get the remainder of the string.

   Just a thought. And, please, do not date me with my reference to PL/I. I
know I'm older than dirt, no need to rub it in. *grins*

Gene Wolf
Business Systems Analyst, TLMN
DRS Optronics, Inc.
2330 Commerce Park Drive
Palm Bay, Florida  32905
Phone: 321-309-0685
E-mail: [EMAIL PROTECTED]


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to