Re: Splitting string on blanks in 4GL?
Posted in 1995
This is an obvious candidate for a 'c' function. Does one such exist already? Anyone want to write one? I'm too busy and my 'c' code stinks, but will do it if there are no other takers. I can think of two approachs at the moment, 1 - chop up the entire string and then worry about popping off the stack upon return to 4gl. 2 - split on the first delimiter and return the first and remainder field, the caller then calls as many times as necessary. cheers j. _____________________________________________________________________________ Jack Parker - Hewlett Packard, BSMC Boise, Idaho, USA jparker@hpbs3645.boi.hp.com _____________________________________________________________________________ Discover America, get lost on a rally. _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________