Removing of whitespaces in a text file.

2001-07-15 Thread nyon
Hi, Is there any CFM method to clean out whitespaces in a text file ? The files are dynamic generated every day. The whitespaces is making my files bigger as I insert it into a CFM page. ~~ Structure your ColdFusion code with Fusebox. Get

Re: Removing of whitespaces in a text file.

2001-07-15 Thread Joseph Thompson
The 'el cheapo method: Replace(MyTextFile,' ',' ','all) (that is two spaces after the first comma) Another way? REReplace(MyTextFile, [space],, All) OR REReplace(MyTextFile, [space], , All) (of course, the output of the first RE would be totally void of ALL spaces... actually, I would