I have the string(10325710) and I want to split the string into an array. After I split the string into an array, the array will be {1,0,3,2,5,7,1,0}. Note there are two 1s and two 0s in the string. I don't want to split the '1' and the '0'. Therefore, the array I wish to get is {10,3,2,5,7,10}.
Any advice?
my C# code:
string myNumber = "10325710";
string[] myArray = myNumber.Select(p => p.ToString()).ToArray();