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