[Help] Searching A Textbox
How do you search the text in a textbox? (Simpily)
If TextBox1.Text.Contains("lol") Then
End If

If TextBox1.Text.Contains(UCase(txtSearch.Text)) Then
TextBox1.SelectionStart = TextBox1.Text.IndexOf(UCase(txtSearch.Text))
TextBox1.SelectionLength = txtSearch.Text.Length
TextBox1.Select()
Else
Try
TextBox1.SelectionStart = TextBox1.Text.IndexOf(LCase(txtSearch.Text))
TextBox1.SelectionLength = txtSearch.Text.Length
TextBox1.Select()
Catch ex As Exception
MsgBox("Not FOUND")
End Try
End If
.