Practice ยท 3 of 4
CSV field picker
CHALLENGE
Difficulty: beginner+25 XP
Implement static string Field(string line, int index) โ return the index-th comma-separated field of line (0-based), or "" when the index is out of range. Field("rice,beans,,oil", 2) is "" โ empty fields are real fields.
Press Submit to check your solution.
Back to lesson: Practice: Text workshop