find

yves COPPE yvescoppe at skynet.be
Tue Apr 23 01:04:01 EDT 2002


Hi,

I'd like a script which search for all occurences of a word in a list 
and returns the number of all lines.


an example :

a list with :

Peter
John
Richard
John
George
John
Philip
Tom

So if i call the code for "John", the result should be :

2
4
6


I've tried with lineoffset but it gives only the first occurence.

thanks.
-- 
Greetings.

Yves COPPE

Email : yvescoppe at skynet.be



More information about the use-livecode mailing list