I have a same string Called ORDINE and ordine what i want to is to check if it is start with capital ordine or lowercase ordine. i want to do something below
if (line.Replace(".", "").Trim().StartsWith("ORDINE"))
{
skipLine = 3;
continue;
}
or
if (line.Replace(".", "").Trim().StartsWith("ordine"))
{
skipLine = 1;
continue;
}