by Jason Stoddard (3 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 10th December 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Replace one Char With Another inside of a string
For x = 1 To Len(Entire)
If Mid$(Entire, x, 1) = "," Then
NewWord = NewWord & "_"
Else
NewWord = NewWord & Mid$(Entire, x, 1)
End If
Next
MsgBox NewWord
End Function