On Tue, 18 Jan 2005 11:13:57 -0200, Carlos Lorenz
<[EMAIL PROTECTED]> 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.

Reply via email to