This will remove all returns and tabs with nothing.
ReReplace(string,"(#chr13#|#chr9#)","","ALL")
Mark Johnson
-----------------------
Senior Cold Fusion Developer
Cardinal Communications
-----Original Message-----
From: thanh nguyen [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 5:18 PM
To: CF-Talk
Subject: stripping all white space, CR, Tab and put into one line
hello everyone,
I have a textarea box asking user to type in and, sometimes user types
carriage return, tab, new line, then I insert it into sql server, when I
retrieve the information and want to write it into a text file. sometimes if
the user did not hit any return key or tab, so i write into text file it is
on coutinous one line, if the user hit return key or tab then the text
file show the multiple rows of characters,
what I want to do now is some how in one coutinous line without tab or
Carriage Return character.I have use StripCF() but it did not work
thanks for any suggestion
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]