<cfset dealer = trim(ReReplace(form.Dealer,"<[^>]*>","","ALL"))>
Note: no quotes, no pound signs.
--Ben
[EMAIL PROTECTED] wrote:
> right ben, lol
> that was just what my ? was where to put the trim() at
>
> <cfset Dealer = "#ReReplace(form.Dealer,"<[^>]*>","","ALL")#">
>
>
>
> > Exactly how are you trying to control it? If you just want to strip
> > away leading and trailing whitespace, there's always trim().
> >
> > Otherwise, be more specific.
> >
> > --ben
> >
> > [EMAIL PROTECTED] wrote:
> >
> >> yes, exactly
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>>At 23:57 24/09/2003 -0600, you wrote:
> >>>
> >>>>what would be the proper way to trim this up?
> >>>>
> >>>><cfset Dealer = "#ReReplace(form.Dealer,"<[^>]*>","","ALL")#">
> >>>
> >>>Trim in what sense? Looks like a fairly sound regex to strip markup
> >>> tags. Are you wanting to control whitespace as well?
> >>>
> >>>Gyrus
> >>>[EMAIL PROTECTED]
> >>>http://norlonto.net/gyrus/dev
> >>>PGP key available
> >>>
> >>>
> >>
> >>
> >
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
- trimming question cf
- 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