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

[REBOL] making a CSF out of a block Re:

From: al:bri:xtra at: 24-Aug-2000 19:36

Thorsten wrote:
> i got stuck in a little problem. I tried to solve it using the users guide
but don't get any further now.
> i have a block containing several data like ["a" "b" "c"] > > i need to make a delimited line in a file out of that like a|b|c > > Has anybody an idea for me? >> Items: ["a" "b" "c"]
== ["a" "b" "c"]
>> CSF: make string! 100
== ""
>> foreach Item Items [append CSF join Item "|"]
== "a|b|c|"
>> head remove back tail CSF
== "a|b|c" I hope that helps! Andrew Martin ICQ: 26227169