Re: 4GL Help
Posted in 2003
If you are on 9.x then look at the regexp datablade otherwise I'm sure there will be some code at www.iiug.org Howard Salter wrote: > > Hello all, > > I'm desperately searching for a function in 4GL that allows me to search for > a string within a variable. What I need to do is take a string created by a > consruct and replace part of it with a different string for example: > > If varWC is the clause created by the costruct, > > 1) search for date1 = <date> > 2) If date1 exists and date2 exists then replace both with ''. > 3) Tack on the back of varWC new date clause. > > TIA, > Howard > sending to informix-list -- Paul Watson # Oninit Ltd # Growing old is mandatory Tel: +44 1436 672201 # Growing up is optional Fax: +44 1436 678693 # Mob: +44 7818 003457 # www.oninit.com #