An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
As the delimiter between the first number and the remainder of the characters is a space, you could use String.IndexOf to get the first occurrence of that space, then use String.Substring to create a new string after that space:
using System.Diagnostics;
var inputs = new[] {
"2 2484,7381,3099,6847,7716,7303,1255,1098,0070",
"332 1586,0764,1270,3897,9473,5890,5301,0690,6699",
"0142 5561,6611,5226,9148,3861,8905,9496,4827,8155"
};
var expected = new[] {
"2484,7381,3099,6847,7716,7303,1255,1098,0070",
"1586,0764,1270,3897,9473,5890,5301,0690,6699",
"5561,6611,5226,9148,3861,8905,9496,4827,8155"
};
var actual = new string[inputs.Length];
for (int i = 0; i < inputs.Length; i++) {
var input = inputs[i];
var spaceIndex = input.IndexOf(' ');
if (spaceIndex != -1)
actual[i] = input.Substring(spaceIndex + 1);
}
for (int i = 0; i < expected.Length; i++) {
Debug.Assert(expected[i] == actual[i], "Expected and actual values do not match!");
}