Here are several ways to do it:

blk: [This is a block with some words]
i: find blk 'with
print first back i
print first skip i -1
print first at i

string: "This is a string with some words"
blk: parse/all string " "
print first back find blk "with"

i: find string " with"
j: find/reverse i " "
print copy/part next j i

-Galt

>===== Original Message From [EMAIL PROTECTED] =====
>Hello all...
>
>Is there some way to find a value in a string that
>immediately proceeds another
>
>eg...
>
>string: "This is a string with some words"
>
>How would i find the word immediately before the word
>"with"... in this case the word "string" ?
>
>Kinda like select, but working backwards?
>
>TBrownell
>
>__________________________________________________
>Do You Yahoo!?
>Kick off your party with Yahoo! Invites.
>http://invites.yahoo.com/

Reply via email to