then a LINQ Where can help
strFirstLine =
FileContents.Where(Function (x) x.Contains("Invoice Total £")).FirstOrDefault
and we can combine it with a regex to cutout more the detail part
EDITED: grammar and statement formulation
then a LINQ Where can help
strFirstLine =
FileContents.Where(Function (x) x.Contains("Invoice Total £")).FirstOrDefault
and we can combine it with a regex to cutout more the detail part
EDITED: grammar and statement formulation