<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]

Reply via email to