Removing Characters and Strings from a String (VB6)
by Konstantin Komissarchik
This code shows how to wrap the VB6 Replace command to remove any characters from a string, eg. StripOut("abcdefg", "bdf") - This will return a string that had all of its 'b', 'd', and 'f' characters removed.
I am often faced with a problem of a string that needs to have certain characters removed from it. With advent of <b>Replace() </b> function, the problem becomes more manageable. For instance, if you wanted to remove all
This article was originally published on Wednesday May 12th 1999