>Hi Chuck,
>
>in this case it might be easier to loop through the string, get the position with ATC(), extract the three letters, look it up in a cursor or array that contains all 8 combination of upper and lower case variations and then put the new word in with STUFF().
I used ATC to find the string and substr out the section I wanted and used CHRTRAN(lc_string, 'OLDold',NEWnew')
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers