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 replace every instance of a string with another string
'<<SC Parameters:
'<<SC strOriginalString = String from which you want to remove the "strRemoveString"
'<<SC strReplaceString = String to replace
'<<SC strAddString = string to Add
Dim strTemp() As String
strTemp = Split(strOriginalString, strReplaceString)
ReplaceCharacter = Join(strTemp, strAddString)
End Function
No comments have been posted about The fastest way to replace every instance of a string with another string. Why not be the first to post a comment about The fastest way to replace every instance of a string with another string.