> Just want to confirm that lineOffset returns only the first instance
> of a match starting from line 1.

Yes, it returns only one matching line. However you can use the
optional third parameter to tell the function where to start looking.

e.g.

lineOffset("blah", myData)   -- returns the number of the first line
containing "blah"
lineOffset("blah", myData, 5)   -- returns the number of the first
line containing "blah" after line 5. You then have to add the 5 back
to the result in order to get the actual line number.

Cheers,
Sarah
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to