Hi Dick
Ive tried the following code but to no avail:
<cfset White = "#Chr(9)##Chr(10)##Chr(13)##Chr(32)#">
<cfset Questions = ReReplace(#OutputList.Question#, "[#White#]+", " ",
"All")>
<td height="10" width="25%" background="white-rect.gif">
<div align="center"><font face="Arial, Helvetica, sans-serif"
size="2"><font color="Black"><nowrap><b>#Questions#</b></div>
</td>
Any Ideas
Cheers
Jerry
-----Original Message-----
From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
Sent: 10 June 2001 11:19
To: CF-Talk
Subject: Re: White Space
Oops, you said white space, not space!
try
<cfset White = "#Chr(9)##Chr(10)##Chr(13)##Chr(32)#">
<cfset string = ReReplace(String, "[#White#]+", " ", "All")>
>
><cfset string = ReReplace(String, " +", " ", "All")>
>
>HTH
>
>Dick
>
>
>At 10:15 AM +0100 6/10/01, Jerry Staple wrote:
>>Hi
>>Could anyone tell me the Best way to strip out white space from a
>>string??
>>
>>Much Appreciated
>>Jerry Staple
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists