tought I'd take a 30 sec break and solve this using parse  :-)

a: [1 2 3]

parse a [any [blk: skip (unless empty? next blk [insert next blk ","]) skip
] ]

== [ 1 "," 2 "," 3" ]

-MAx

On 7/11/07, Alessandro Manotti <[EMAIL PROTECTED]> wrote:
>
> Yes, I know (see my example :-) ) that method.
> I was looking for an alternative way (just for curiosity, or to create a
> shorter code).
>
> Thank you!
>
>
>
> On 7/11/07, Greg Schwarz <[EMAIL PROTECTED]> wrote:
> >
> >
> > Welome back :-)
> > You could use
> > either something = something-else [log-output: rejoin [now "," username
> > ","
> > ERROR_MESSAGE]][log-output: rejoin [now "/" username "/" ERROR_MESSAGE]]
> >
> > Regards,
> > Greg
> >
> > ----- Original Message -----
> > From: "Alessandro Manotti" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, July 10, 2007 1:42 AM
> > Subject: [REBOL] How to compose a string with a specific separator
> >
> >
> > > Hi,
> > >
> > > I'm not new in this list, but I left Rebol for some time, for some
> > > problems.
> > >
> > > Now I'm back again :-)
> > >
> > > And... I have a question :-(
> > >
> > > I need to create a string to be inserted in a log file. Such string
> > should
> > > be composed using ",".
> > >
> > > Now I do this:
> > >
> > > log-output: rejoin [now "," username "," ERROR_MESSAGE]
> > >
> > > My question is: is there any rebol command to join some data, but
> > > selecting
> > > a custom separator (e.g.: "," or "/" , etc...)?
> > > (else, I will proceed as in the example above :-) )
> > >
> > > Thank you for your help!
> > >
> > >
> > >
> > > --
> > >
> > >
> > > --Alessandro
> > >
> > >
> > > --
> > > To unsubscribe from the list, just send an email to
> > > lists at rebol.com with unsubscribe as the subject.
> > >
> > >
> > >
> > > --
> > > Internal Virus Database is out-of-date.
> > > Checked by AVG Free Edition.
> > > Version: 7.5.476 / Virus Database: 269.9.14/883 - Release Date:
> > 1/07/2007
> > > 12:19 PM
> > >
> > >
> >
> > --
> > To unsubscribe from the list, just send an email to
> > lists at rebol.com with unsubscribe as the subject.
> >
> >
>
>
> --
>
>
> --Alessandro
>
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to