Read up on series in the manual. A string is a series. A block is a series.
For example,
first "Hello"
pick "Hello" 3
repeat a-char "Hello" [print a-char]
If you need the characters seperately in a block:
block-of-char: copy []
repeat a-char "Hello" [
append block-of-char a-char
]
Now perhaps you can help me. What does "yadda" actually mean?
Brett.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 11, 2002 1:05 PM
Subject: [REBOL] Re: to-char
>
> sorry, I'm not used to the harder stuff like
> parsing, yadda, yadda, yadda.
>
> What I'm looking for is a function/native that
> will change a word into a block of characters,
> for example:
>
> tochar "Hello"
>
> Word: [
> H
> e
> l
> l
> o
> ]
>
> Daniel S
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.