Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fast replace$() function
#9
Quote:Several folks are saying they'll swap to this routine. They may need to consider which would work best for them. The first is faster, but might overflow the buffer in various situations. The second is a *wee* bit slower, but is safer in more use cases.

It's always nice for folks to have options. (Though rename the SteveReplace, if anyone wants to copy it. That's waaay too cheesy of a name -- even for me! LOL! I just named it *something* for testing purposes.)
I could not agree more!
It depends on the usecase and options are good
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply


Messages In This Thread
Fast replace$() function - by mdijkens - 04-15-2025, 10:00 AM
RE: Fast replace$() function - by bplus - 04-15-2025, 10:34 AM
RE: Fast replace$() function - by hsiangch_ong - 04-18-2025, 06:04 PM
RE: Fast replace$() function - by mdijkens - 04-18-2025, 07:31 PM
RE: Fast replace$() function - by SMcNeill - 04-18-2025, 08:29 PM
RE: Fast replace$() function - by mdijkens - 04-18-2025, 09:08 PM
RE: Fast replace$() function - by SMcNeill - 04-19-2025, 08:48 AM
RE: Fast replace$() function - by madscijr - 04-18-2025, 11:07 PM
RE: Fast replace$() function - by mdijkens - 04-19-2025, 10:19 AM
RE: Fast replace$() function - by hsiangch_ong - 04-19-2025, 05:23 PM
RE: Fast replace$() function - by mdijkens - 04-19-2025, 06:27 PM



Users browsing this thread: 2 Guest(s)