Hi Sam. This additional information helps, but what output do you want from the above example? Say you're searching for the number of times 'catalog' and 'crime' appear in security.txt, do you want zero for the former and 2 for the latter (which is the number of times these words appear in the section of the file you have shown us)? That would be pretty easy (but you would have to think about whether you want to include 'Crime' (capital first letter), 'crimes' (plural)... and then about how to exclude eg 'Crimean').
Or do you perchance want to open the files in the 'Object Name' field and search these for the words in question, which is not so easy, but eminently feasible (and note that the 'crimes/Crime/Crimean' issue remains)?
dave
In reply to Re: Re: Help - Counting text - Associative Array? (I was Annon Monk)
by Not_a_Number
in thread Help - Counting text - Associative Array?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |