well, nothing really new, but let's say you have a sentence
featuring several words, and you need to know if the same
word W1 occurs more than once in that sentence.
    for instance : W1 W2 W3 W4 W5 W1 W6 W7

The following line is a very simple & fast way to know it :

if wordoffset(W1,myString,wordoffset(W1,myString)) > 0

of course, it also works with offset, itemoffset and lineoffset.

JB

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

Reply via email to