What should one expect when trying TRIM on a binary value. I see right off the bat that it doesn't have any effect:
test: #{2046206F0A6F200A20}
equal? test trim copy test
Ah, well—that's too bad. This is at odds with the Rebol 2 function that treats whitespace in binary the same as in text.
Hold on though—it does work with TRIM/WITH:
>> trim/with copy test #{20}
== #{46206F0A6F200A}
>> trim/with copy test #{200A}
== #{46206F0A6F}
>> trim/with copy test #{0A20}
== #{46206F0A6F}
>> trim/all/with copy test #{0A20}
== #{466F6F}
>> trim/head/tail/with copy test #{0A20}
== #{46206F0A6F}
This is all as I'd expect it.
I want to be certain if this is by design—there seems significant deviation on how this works between Rebol 2, Red, Rebol 3 Alpha and Ren-C. To be clear—I like the above behaviour on first glance.