[REBOL] Trim question
From: sharriff:aina:med-iq at: 10-Oct-2000 16:49
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