how to do this type of search

Peter M. Brigham, MD pmbrig at gmail.com
Mon Apr 9 21:23:15 EDT 2012


Set the wholematches to true before your search, then it will only locate the string when it is a whole word.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig

On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote:

>> The 'lineOffset' function will be your friend here...
> 
> If only it truly were that simple...
> 
> In my example, lineOffset would return "3" for "is". But "5" is what I'm after.
> 
> --
> Nicolas Cueto
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list