by SC (2 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 21st September 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
The fastest way to remove every instance of a string from another string, in 3 lines of code.
'<<SC Parameters:
'<<SC strOriginalString = String from which you want to remove the "strRemoveString"
'<<SC strRemoveString = String to remove
Dim strTemp() As String
strTemp = Split(strOriginalString, strRemoveString)
RemoveCharacter = Join(strTemp, "")
End Function
No comments have been posted about The fastest way to remove every instance of a string from another string, in 3 lines of code.. Why not be the first to post a comment about The fastest way to remove every instance of a string from another string, in 3 lines of code..