I was playing around with the code StringOmit from Keith Culotta. I made some changes, which should make it faster... still testing. but in the process I found a 'problem' with Replace String.
I have a 4.8 meg text, I am using for testing. I accidentally ran the following line of code against it. $Source:=Replace String($Source;Char(9);"";*) Doesn't look so bad, does it? Turns out there are over 550,000 tabs in the text. Replace String, did indeed (eventually) return, but it took about 30 minutes. So.... You might want to watch out for number of occurrences of a character you are replacing, and how large the source is. Chip --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

