Accessing individual ID numbers using Arduino Uno and SD Card Module

I'm trying a method where I need to be able to access an indivdual's ID number, which is stored in a text file inside my SD Card. There are around 70-80 Id numbers.

I have already read up on this topic in this thread: (RESOLVED) - SD-CARD find a string on text file - Programming Questions - Arduino Forum

My main doubt though, is, can I do this if there are multiple attributes for one single ID in the text file (separated by a space, or comma)?

Example:

If the student enters their ID number, I want to be able to show their Name and the course they've taken as well.

Is this doable? Or am I in over my head?

Thanks in advance!

It's doable

UKHeliBob:
It's doable

How should I do it? Is there any method in the SD Card library that will help me do it?

Read Robin2's Serial Input Basics - updated

The principles apply equally to reading of SD. Replace serial.read by yourfile.read where yourfile is the file handle that is returned by open.

Example #2 should allow you to read a line at a time.

A parsing example is also available in that thread.