README.md

December 4, 2022 ยท View on GitHub

Just another Replacement for Replace() v. 1.1

Description

Now it's as fast as it gets, folks. Yes, Faster than the code from xbeat.net. It beats the stuffing out of VB's intrinsic replace function even without the compiler optimizations. 5x-8x faster, even though it adds the ability to use delimiters and count the number of replacements. Uses a slightly modified string mapping technique from Chris_Lucas's post here a few years ago. Thanks to Rde for the SysAllocStringByteLen declare. That, plus some changes I made to calculate all the replacements before the return string is created are what account for the additional speed in the updated version of this post.

More Info

Submitted On2004-03-05 12:53:44
Byselftaught
LevelIntermediate
User Rating3.7 (26 globes from 7 users)
CompatibilityVB 5.0, VB 6.0
CategoryMiscellaneous
WorldVisual Basic
Archive FileJust_anoth171646352004.zip