Help on IndexOf

I am reading from file and i need to find this

Var rowFromFile As String

rowFromFile = textInput.ReadLine

if rowFromFile.IndexOf(chr(14)+" "+chr(13)+chr(12)) > 0 Then <<<< what is the best way to search

msgbox “test”
end if

if rowFromFile.IndexOf(chr(14)+" "+chr(13)+chr(12)) > -1

IndexOf is zero based.

2 Likes

thanks