getline to import data from text files on SD

need to import data from a text file on an SD card into test program to set variables. So I would like to use something like getline and then parse the array for what I need. What would be the best way to accomplish this .

Thanks

dump the file in to a 2D array?
The newline character (ASCII 10 I think?) and the carriage return (13 maybe?) may be of use to you.