I think you have the two args interchanged. See the following console
session:
>> a: "onetwothreefour"
== "onetwothreefour"
>> a1: trim/with copy a "two"
== "nehreefur"
>>
All the characters in the 'with string are used separately.
Russell [EMAIL PROTECTED]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 10, 2000 8:49 AM
Subject: [REBOL] Trim question
>
> Can someone tell me what makes this fail?
>
> >> a: { one two
> { three four }
> == " one two^/ three four "
> >> a2: trim/auto copy a
> == "one two^/ three four "
> >> a3: trim/with "^/" copy a2
> == ""
> >>
>
> or this?
>
> ""
> >> a3: trim/all copy a2
> == "onetwothreefour"
> >> a4: trim/with "two" copy a3
> == ""
> >>
>
>
> I thought the "TRIM/WITH" command removes the supplied string value and
> returns the rest of the string. I tried out the examples in the new core
> manual, page 235.
>
>
> Best regards
>
> Sharriff Aina
> med.iq information & quality in healthcare AG
>
>