NS01 EW24
$1.04
$1.32
20
NS04 EW21
$1.02
$1.62
9
where NSxx and EWxx is always 4 characters, the money is always 3 digit with a dollar sign, and the last number can be 1 or 2 digits.
Question: How do I sort NSxx into 1 list, EWxx into another list, first money into another list, second money into another list, and the last number into another list?
(in the text file, which is realy long, there are also other NSxx and EWxx which are CCxx, CGxx, DTxx, NExx)
using (StreamReader fare = new StreamReader("fare.txt"))
{
string line;
while ((line = fare.ReadLine()) != null)
{
}
}