how to do this type of search
Peter M. Brigham, MD
pmbrig at gmail.com
Mon Apr 9 21:28:40 EDT 2012
On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote:
>
>
> If only it truly were that simple...
>
> In my example, lineOffset would return "3" for "is". But "5" is what I'm after.
Sorry, setting the wholematches to true then doing lineoffset will get you whole matches for lines. Instead:
set the wholematches to true
put wordoffset("is",m) into ww
put the number of lines of word 1 to ww of m into whichline
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
More information about the use-livecode
mailing list