I am trying like this:
int Quantity = Array.FindIndex(lineValues, x => x.Equals("Order 1 QTY"));
It is passing for the same string. But I want it to get passed even if there are no spaces between the string.
I want it to get passed with both the string:
"Order 1 QTY"
"Order1QTY"
I want to check for just string excluding spaces.