At 10:40 25/09/2003 -0600, [EMAIL PROTECTED] wrote:
>yes, exactly
Looks like your thread got hijacked with some inane list-admin nonsense...
So I cc'd you just in case signal drowns in noise...
I'm building a new framework, and we build the page content up into a
variable, request.pageOutput, so it can be manipulated however, then output
when all processing is done. I've got some custom whitespace management:
<!--- Strip out all tabs --->
<cfset request.pageOutput = Trim(Replace(request.pageOutput, Chr(9), "",
"ALL"))>
<!--- Strip out all multiple newlines --->
<cfset request.pageOutput = REReplace(request.pageOutput,
"#Chr(13)##Chr(10)#[#Chr(13)##Chr(10)#]+", "#Chr(13)##Chr(10)#", "ALL")>
<!--- Strip out all multiple spaces --->
<cfset request.pageOutput = REReplace(request.pageOutput, " [ ]+", " ", "ALL")>
This just makes the browser source easier to scan when debugging. You could
use this for newlines if you just want to reduce whitespace to a minimum
for bandwidth reasons:
<cfset request.pageOutput = REReplace(request.pageOutput,
"#Chr(13)##Chr(10)#", "", "ALL")>
However, I've no idea if this is what you're after or not.
Gyrus
[EMAIL PROTECTED]
http://norlonto.net/gyrus/dev
PGP key available
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
- Re: trimming question Matthew Walker
- Re: trimming question Gyrus
- Re: trimming question cf
- Re: trimming question Ben Doom
- Re: trimming question cf
- Re: trimming question Ben Doom
- RE: trimming question Tony Weeg
- RE: trimming question Tony Weeg
- Re: trimming question Gyrus
- Re: trimming question Kunal Pewekar
- Re: trimming question Shannon Rhodes
- Re: trimming question Bart Kalnay
- RE: trimming question Brian Kotek
- Re: trimming question Jeff Fleitz
- Re: trimming question Rob Scheinman
- RE: trimming question Shane Johnson
- RE: trimming question Roth, John
- RE: trimming question LeJeune, JD
- RE: trimming question Watson, Marci [NH]