Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[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