Focal Point
find and replace

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5871078331

July 11, 2005, 01:49 PM
<Ed>
find and replace
All,

I need to replace all instances of the string 'and' in a &variable ....with the string '&'

what is the command for the same?

thanks

Ed.
July 12, 2005, 12:37 PM
jimster06
Have you looked for 'character functions' in the Technical Documentation Library above.
Check out POSIT and SUBSTR. You may have to do the find and replace in a couple of steps.
Also, consider replacing with &| instead of just &. When WF parses &..., it will try to populate the variable when all you wanted was the literal &; using &| (the concatentation symbol) will get you by that.
HTH