Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search inside Integers
#4
could you do it like this?

Code:
CLS

INPUT A$
S$ = "5"

1 IF INSTR(A$,S$) <> 0 THEN : TOT = TOT + 1 : A$ = RIGHT$(A$,LEN(A$)-INSTR(A$,S$)) : GOTO 1

PRINT "THERE ARE ";TOT;" `"; S$ ; "`'S"
SYSTEM

This works differently

What do you want it for?
WHILE RPG$ <> "complete" : make up silly excuses :WEND
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)