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
pmb...@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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to