Hi Michel,
>But in that case, wasn't it finding only the uppercase occurences of MICHEL?
Yes. But you see that I first convert the entire string I'm searching to uppercase and then I search for something that is uppercase within it.
lcHtml=STRTRAN(upper(lcHtml),'MICHEL','Michel Fournier')
^-----------^
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!
Support the product. Buy the latest version!
Hugh Winters @ WorldData 408-512-1131