I am passing in a string using a streamreader. I am trying to find if a line uses CrLf, Cr, or LF. I have tried using an Instr but it always returns 0. What am I doing wrong? Should I be using something else?
VB Code:
InStr(txtFileContents.Text, ControlChars.CrLf)
Thanks
Shannon




Reply With Quote