[REBOL] Re: Parse: Splitting headache
From: sunandadh:aol at: 18-Feb-2003 17:49
Laurent
> >> s2: "one {two three} four"
> == "one {two three} four
> >> make block! s2
> == [one "two three" four]
Thanks.
That would be a perfect solution if my strings were limited to valid Rebol
words. Unfortunately, they are not....
>> s2: "one {two three} four ["
== "one {two three} four ["
>> parse s2 " "
== ["one" "{two" "three}" "four" "["]
>> make block! s2
** Syntax Error: Missing ] at end-of-script
** Near: (line 1) one {two three} four [
Sunanda