u crack me up tony! lol


> yeah, minus the #'s :)
>
> -----Original Message-----
> From: Tony Weeg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 25, 2003 4:32 PM
> To: CF-Talk
> Subject: RE: trimming question
>
> either place I think...
>
> <cfset Dealer = "#trim(ReReplace(form.Dealer,"<[^>]*>","","ALL"))#">
>
> or
>
> <cfset Dealer = "#ReReplace(trim(form.Dealer),"<[^>]*>","","ALL")#">
>
> would work either way right?
>
> tony
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 25, 2003 4:31 PM
> To: CF-Talk
> Subject: Re: trimming question
>
> 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