Nov 29, 2012, 11:19 PM
Re: [MB123] Script Advice: Is it doing what I think it is?
Could you please elucidate what you mean by overlapping repetition of data? As in the same item of $data repeated in the same line?
Well if $data contains "foofoo" and your line "foofoofoofoofoo", if will probbly count 2 occurrences though you could consider it comes 4 times. This example is simplistic, but it can get a bit subtle sometimes.
On the other point, if you suspect you don't get the count right, please supply examples of your data, it is difficult to say something without seeing the actual case.
(This post was edited by Laurent_R on Nov 30, 2012, 12:13 AM)