I am trying to remove a certain string from a textbox when a button is pressed. Although using replace isn't working out too well for me. Can someone give me a hand?
This is my code already.
vb Code:
Dim rdystring As String = DisplayTextBox.Text If InStr(rdystring, "Ready to begin.") Then Replace(rdystring, "Ready to begin.", "") DisplayTextBox.Clear() DisplayTextBox.Text = rdystring End If
I tried this before the one above:
vb Code:
If InStr(Displaytextbox.text, "Ready to begin.") Then Replace(Displaytextbox.text, "Ready to begin.", "") End If


Reply With Quote

