by SupahFly (2 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 18th October 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
A Non-CapsSensetive Way To Find String One Inside The String Two And Replace It With String Three. I Submited This Code Because All The Other
Dim I As Byte
I = 1
Dim LeftPart
Do While True
I = InStr(1, UCase$(Entire), UCase$(Word))
If I = 0 Then
Exit Do
Else
LeftPart = Left(Entire, I - 1)
Entire = LeftPart & NewWord & Right(Entire, Len(Entire) - Len(Word) - Len(LeftPart))
End If
Loop
Text1.Text = Entire
End Sub
Private Sub Command1_Click()
RemoveString "String Two", "String One", "String Three"
End Sub
No comments have been posted about A Non-CapsSensetive Way To Find String One Inside The String Two And Replace It With String Three. . Why not be the first to post a comment about A Non-CapsSensetive Way To Find String One Inside The String Two And Replace It With String Three. .