yeah, it matches a tab, new line, vertical tab, form feed, carriage return, or
space.




Douglas Brown
Email: [EMAIL PROTECTED]
----- Original Message -----
From: "Jon Hall" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 3:38 PM
Subject: Re: removing spaces and carriage returns w/ efficiency


> Will that do carriage returns as well? If not I'd imagine something like
> this would be a little more effeicient than doing a regex...
> <cfset myNewString = stripCR(replace(string, " ", "", "ALL"))>
>
> jon
> ----- Original Message -----
> From: "Douglas Brown" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, July 12, 2002 6:31 PM
> Subject: Re: removing spaces and carriage returns w/ efficiency
>
>
> > <cfset myNewString = ReReplace(string, "[[:space:]]", "", "ALL")>
> >
> >
> >
> >
> > Douglas Brown
> > Email: [EMAIL PROTECTED]
> > ----- Original Message -----
> > From: "Brook Davies" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Friday, July 12, 2002 3:39 PM
> > Subject: removing spaces and carriage returns w/ efficiency
> >
> >
> > > Any one know what is the quickest most efficient way to trim all spaces
> and
> > > carriage returns from a string?
> > >
> > > Brook
> > >
>
>
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to