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

[REBOL] Re: How to compose a string with a specific separator

From: ale870::gmail at: 11-Jul-2007 13:56

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 <gschwarz-netconnect.com.au> 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" <ale870-gmail.com> > To: <rebolist-rebol.com> > 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