Hi,
Is it possible that error below
at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)at System.String.IndexOf(String value, Int32 startIndex)at Validate_File1.Program.Main(String[] args)
is due to this part of code? How to avoid it?
if (Pos4 - 3 - Pos3 > 0)Email = l7[j].Substring(Pos3 + 2, Pos4 - 3 - Pos3);