Hello all -
Does anyone here have any suggestions how I start to count the instances of a particular number with a string or array? I think I have an idea, but I'm not really sure. I have the following:
string - 4,7,12,54,87,98 8,3456,76,21,76 ,5,9,3,87,38,7
From that string I need to count how many times the 7 occurs, how many times 87 occurs, etc. I can use whatever delimiter is necessary. Any ideas?
Thanks
Does anyone here have any suggestions how I start to count the instances of a particular number with a string or array? I think I have an idea, but I'm not really sure. I have the following:
string - 4,7,12,54,87,98 8,3456,76,21,76 ,5,9,3,87,38,7
From that string I need to count how many times the 7 occurs, how many times 87 occurs, etc. I can use whatever delimiter is necessary. Any ideas?
Thanks
Comment