What Larry said. HTMLCompressFormat is the bomb. You can set it to a
slightly less aggressive setting to save single carriage returns.
--
--Matt Robertson--
Janitor, MSB Web Systems
http://mysecretbase.com
~|
Message:
I've got a file on which I'm working. When viewing source I have lots of
extra carriage returns and spaces from comment tags, where code used to be,
etc. Google gave me this page:
http://www.cfmcentral.com/tips/gettip.cfm?id=14
which tells me to configure my code as follows:
CFPROCESSINGDIRECTIVE
chars from the
stream at the point it is used.
M!ke
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 11:01 AM
To: CF-Talk
Subject: Remove white space
I've got a file on which I'm working. When viewing source I have lots of
extra carriage
So I've tried that, viewed source on the changed file and it looks exactly
the same. I'm running CFMX6.1 on my windows test machine. Does anyone have
any ideas or alternate code which I might try?
!//--
andy matthews
web developer
Andy,
What I do is put the page in between a
Here's a general example that you can modify to fit your needs:
--- Define Some WhiteSpace Characters ---
CFSET T = Chr(09)
CFSET R = Chr(13) Chr(10)
CFSET S = " "
--- Define a String including WhiteSpace Characters ---
CFSET Before = S S S T T "123" T T
CFSET nonmembemail = Replace(propertyname, chr(32), "", "ALL" )
this above is the code will be what removes the white spaces between words
on a field
- Original Message -
From: "avex" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 17, 2000
try #replace(string,chr(32),"","ALL")#
Rob Keniger
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
Replace(your_variable, " ", "", "ALL")
- Original Message -
From: "avex" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 16, 2000 10:06 PM
Subject: remove white space
Hi,
I would like to strip a string of white space from th
8 matches
Mail list logo