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

[REBOL] Re: strings and things

From: joel:neely:fedex at: 10-May-2001 15:19

Hi, Terry, One possibility is below. -jn- Terry Brownell wrote:
> here is a string read from a text file... > > str: {word1 word2 "a string"} > > How does one take str and make it usable? > > eg: blk: [word1 word2 "a string"] > >> str: {word1 word2 "a string"}
== {word1 word2 "a string"}
>> blk: load join "[" [str "]"]
== [word1 word2 "a string"]
>> foreach item blk [print type? :item]
word word string