why wouldn't you replace instances of 2 or more spaces with a single
space?  seems you're just removing them?

On Jan 21, 2008 12:13 PM, Nate Willard <[EMAIL PROTECTED]> wrote:
> hello,
>
> I learned of of an issue with my whitespace reduction
> method that is almost funny.
>
> I do the following to remove whitespace
>
> <cfsavecontent variable="pageholder_tboutputed">
> PAGE CONTENTS.......
> </cfsavecontent>
> <cfset pageholder_tboutputed
> =REReplace(pageholder_tboutputed,
> "[[:space:]]{2,}","","ALL")>
> <CFOUTPUT>#pageholder_tboutputed#</CFOUTPUT>
>
> What ended up happening today is that one of the
> sources I pull in information from had double spaced
> between words. so instead of the "The bear went home"
> they had "The  bear  went home" which caused my method
> to output "Thebearwent home"
>
> Is there any way around this? Or do I need to remove
> my whitespace method for the time being?
>
> Thxs
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297027
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to