I am looking to run an automatic find and replace on some imported data. I want to replace all X's and -'s with another charcter in order to be able to run filters on them.
I usually use a text editor to do this (like Wordpad) before I do an import. But that's not automated... Most of the ways I can think of are complicated.
You can probably do something with readLine(), subStr() and writeLine() if the data is in ascii format.
If it's in a table, you are stuck with a scan loop, tCursor and subStr(); or maybe even locatePattern().
Maybe someone else has a better idea.
Mac
"Strange women lying in ponds and distributing swords is no basis for a system of government" - Dennis, age 37
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.