[REBOL] shifting characters in rejoin Re:(2)
From: al:bri:xtra at: 4-Oct-2000 17:21
> You've run into the interesting way that 'join works on tag!.
>
> >> rejoin [<font> "class=" "Ryan C. Christiansen" </font>]
> == <fontclass=Ryan C. Christiansen</font>>
>
> Basically you have to convert the tags to strings to work as you'd expect,
as 'join on a tag! will put the stuff in the block inside the tag.
I forgot to mention that the end result of 'join and 'rejoin is to make the
result the same datatype! as the first datatype in the block for 'rejoin or
first argument of 'join.
>> type? rejoin [<font> "class=" "Ryan C. Christiansen" </font>]
== tag!
What's the type! of this one expression?
<font class="Ryan C. Christiansen"> </font>
;-)
Andrew Martin
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
http://members.xoom.com/AndrewMartin/