05-11-2008, 03:44 AM
I need to find a function or command that will search inside an Integer. I am trying to see how many times the number 5 would appear in, for example, 448567475. The user enters in a number, and the computer will find how many times the number 5 is in that integer.
I tried to use the INSTR command, but it only indicates where the 1st occurance is, not the 2nd or third.
Any ideas?
I tried to use the INSTR command, but it only indicates where the 1st occurance is, not the 2nd or third.
Any ideas?