The string.SPlit returns an array of strings.
so you can have something like
string[] items = text.Split('\n');
and further to make it type safe(if you know the number of items that will be coming)
enum ITEMS
{
item0 = 0,
tem1 = 1
}
and access it as
var variable = items[ITEMS.item0];
Note: I am not sure whether this will give you less code but this is an alternate way of doing it.