Re: translate at warp speed
Posted in 1993
In <2c8u1dINNk0r@emory.mathcs.emory.edu> alan@po.den.mmc.com (Alan Popiel) writes: >Summary: >-------- >Jack Parker, Robert Minter, and I have been having some fun developing a >reasonably general purpose Informix 4GL callable function for doing substring >search and replace. Calling syntax for this function is: >CALL translate ( old, new, stringin ) RETURNING stringout >or >LET stringout = translate ( old, new, stringin ) Another angle is to take the V8 regular expression clone code by Henry Spencer and write 4gl front ends; one can then write a substitute function using tagged REs. Slow, but you get full RE capability in 4gl code. (But, boo hoo, not in queries.) -- Andrew Burt aburt@du.edu "But if he was dying he wouldn't bother to carve "Aaaaargh", he'd just say it."