Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Instr to count occurrences
#5
(04-29-2025, 02:52 AM)SMcNeill Wrote: Try this: https://qb64phoenix.com/forum/showthread.php?tid=3629

Play around with the String.Find
Also much more efficient.
Mid$ is a very expensive function to use in this scenario
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply


Messages In This Thread
Instr to count occurrences - by PhilOfPerth - 04-29-2025, 01:35 AM
RE: Instr to count occurrences - by bplus - 04-29-2025, 02:10 AM
RE: Instr to count occurrences - by PhilOfPerth - 04-29-2025, 02:21 AM
RE: Instr to count occurrences - by SMcNeill - 04-29-2025, 02:52 AM
RE: Instr to count occurrences - by mdijkens - 04-29-2025, 05:09 PM
RE: Instr to count occurrences - by TempodiBasic - 04-29-2025, 11:17 PM



Users browsing this thread: 1 Guest(s)