[REBOL] Re: Parsing out strings

2004-04-30 Thread Maxim Olivier-Adlhoch
t; To: [EMAIL PROTECTED] > Subject: [REBOL] Re: Parsing out strings > > > > Thanks for the tutorial Max. > > Stuart > > > Original Message > > From: "Maxim Olivier-Adlhoch" <[EMAIL PROTECTED]> > > To:

[REBOL] Re: Parsing out strings

2004-04-30 Thread ML
Thanks for the tutorial Max. Stuart > Original Message > From: "Maxim Olivier-Adlhoch" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: Thu, Apr-29-2004 7:51 PM > Subject: [REBOL] Re: Parsing out strings > > > by using

[REBOL] Re: Parsing out strings

2004-04-30 Thread ML
Thanks for that Scott, I hadn't read up on parse, but I will do now. Stuart > Original Message > From: "Jones, Scott" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: Thu, Apr-29-2004 7:36 PM > Subject: [REBOL

[REBOL] Re: Parsing out strings

2004-04-29 Thread Gregg Irwin
Hi Stuart, M> I am looking at "clear find" and "remove/part" and things like this M> but I am getting very confused as to what to use when, I am more of M> a left$, mid$, right$ kind of guy. I specialized in VB for a lng time, so I know where you're coming from. Let's start with some simple

[REBOL] Re: Parsing out strings

2004-04-29 Thread Maxim Olivier-Adlhoch
by using left right mid mentality... use COPY and AT so here we go: with str: "the user jsmith logged in at 4.30pm" > 1. "the user" copy/part str 8 > 2. "the user jsmith" copy/part str 15 > 3. "jsmith" copy/part at str 10 6 > 4. "jsmith logged in at 4.30pm" copy at str 10 > 5.

[REBOL] Re: Parsing out strings

2004-04-29 Thread Jones, Scott
From: ML ... > Suppose the line I am parsing says: > "the user jsmith logged in at 4.30pm" > > Can you give me a clue what I would use to > parse in each of these circumstances where > the desired text is: > > 1. "the user" > 2. "the user jsmith" > 3. "jsmith" > 4. "jsmith logged in at 4.30pm"