Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search inside Integers
#1
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?
Reply


Messages In This Thread
Search inside Integers - by techdude2007 - 05-11-2008, 03:44 AM
Re: Search inside Integers - by roy - 05-11-2008, 04:19 AM
Re: Search inside Integers - by Ralph - 05-11-2008, 09:34 AM
Re: Search inside Integers - by LPG - 05-11-2008, 09:51 AM
Re: Search inside Integers - by Ralph - 05-11-2008, 11:14 AM
Re: Search inside Integers - by LPG - 05-12-2008, 10:54 AM
Re: Search inside Integers - by Ralph - 05-12-2008, 08:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)