I have a csv file that looks like this:
----------------------------------------------------------
|Student ID | Name | Username | Password | Moderator |
----------------------------------------------------------
| 0001 | Foo Bar | test | abc123 | N |
| 0002 | Baz Qux | bob | bcd986 | Y |
----------------------------------------------------------
How would I go about getting a value in a row from a column value ?
For example, if I had the username 'test' how can I get the value of 'Name' in the corresponding row (Foo Bar)?
|, -delimiters in file or you just added them for readability?testin 3rd place, if yesreturn second element