You can use something like this:
public static Tuple<int, string, bool> CustomSplit(string text)
{
int val = 0;
string aux = "";
string res = null;
for(int i = 0; i < text.Length; i++)
{
if(text[i] >= 48 && text[i] <= 57)
{
aux += text[i];
continue;
}
res = text.Substring(i);
break;
}
bool ok = int.TryParse(aux, out val);
return new Tuple<int, string, bool>(val, res, ok);
}
To use you just need to call him:
string teste1 = "11 blabalba, balbalba balballbal baba";
string teste2 = "12 balbal13, afafaf14 1414adad1414";
Tuple<int, string, bool> res = CustomSplit(teste1);
Console.WriteLine("\nItem1: "+res.Item1+"\nItem2: "+res.Item2+"\nItem3: "+ res.Item3);
res = CustomSplit(teste2);
Console.WriteLine("\nItem1: "+res.Item1+"\nItem2: "+res.Item2+"\nItem3: "+ res.Item3);
It will return one more variable bool
confirming if you found and were able to convert the number.