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

[REBOL] Re: Find? Copy/Part?

From: carlos::lorenz::gmail::com at: 19-Jan-2005 10:22

Volker, As Gregg said earlier there are many ways of doing the same thing with REBOL and for sure they are all very interesting as the one you showed us Thanks On Tue, 18 Jan 2005 14:57:45 +0100, Volker Nitsch <volker.nitsch-gmail.com> wrote:
> On Tue, 18 Jan 2005 11:13:57 -0200, Carlos Lorenz > <carlos.lorenz-gmail.com> wrote: > > > > Hi list, > > > > Suppose I have str: "aaa*aaa*aaa*aaa" > > > > Wich is the best way to get the position of second "*" at word str? > > > > str: "aaa*aaa*aaa*aaa" > > probe find find/tail str "*" "*" > ;or > parse str[thru "*" to "*" p:] > probe p > ;or > parse str[2 thru "*" p:] > probe back p > > > -- > > *:-.,_,.-:*'``'*:-.,_,.-: > > Carlos Lorenz > > *:-.,_,.-:*'``'*:-.,_,.-: > > -- > > To unsubscribe from the list, just send an email to rebol-request > > at rebol.com with unsubscribe as the subject. > > > > > > -- > -Volker > > "Any problem in computer science can be solved with another layer of > indirection. But that usually will create another problem." David > Wheeler > -- > To unsubscribe from the list, just send an email to rebol-request > at rebol.com with unsubscribe as the subject. >
-- *:-.,_,.-:*'``'*:-.,_,.-: Carlos Lorenz *:-.,_,.-:*'``'*:-.,_,.-: