JB has suggested:

set the wholematches to false
put wordoffset("called","make sure the closeField is called, as follows:")

 ---> returns 6

But ...

set the wholematches to false
put wordoffset("print","make sure the closeField is printed, as follows:")

 ---> returns 6 too,


yet ... "Printed" is not the word "print".

From a syntactic point of view a word is a word even when it is trailed by , . - : ; ? !

so I vote for Klaus Major's proposal ("is among the tokens of ....")

Vielen Dank, Klaus!


Ton


_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to