From: lowclouds on
I don't understand this behavior; I suspect it has to do with unicode,
but I don't get it:

string trimright <a></e> </e>
<a
but
string trimright <a></e </e
<a>

what's going on in the first example and how do I stop it?

thanks
craig
From: Uwe Klein on
lowclouds wrote:
> I don't understand this behavior; I suspect it has to do with unicode,
> but I don't get it:
>
> string trimright <a></e> </e>
> <a
> but
> string trimright <a></e </e
> <a>
>
> what's going on in the first example and how do I stop it?
>
> thanks
> craig

string trim* :
trim from the first argument all characters mentioned in the second arg.
You don't trim a string but single character enumerated in a string.

uwe
From: lowclouds on

doh! thanks. that's what I get for blindly thinking someone else
understood what they were writing.
craig

On 5/21/2010 10:59 AM, Uwe Klein wrote:
> lowclouds wrote:
>> I don't understand this behavior; I suspect it has to do with unicode,
>> but I don't get it:
>>
>> string trimright <a></e> </e>
>> <a
>> but
>> string trimright <a></e </e
>> <a>
>>
>> what's going on in the first example and how do I stop it?
>>
>> thanks
>> craig
>
> string trim* :
> trim from the first argument all characters mentioned in the second arg.
> You don't trim a string but single character enumerated in a string.
>
> uwe