using System;
namespace DelimiterString
{
class Program
{
static void Main(string[] args)
{
string initialValue = "1500 * 1200 * 100 ";
char[] num = new char[12];
int i=0;
foreach (char substrings in initialValue)
{
if(substrings >= '0' && substrings <= '9')
{
num[i++] = substrings;
}
else
{
Console.WriteLine(num);
for (int j = 0; j<num.Length;j++)
{
num[j]='*';
}
i=0;
}
}
}
}
}
爵爷_韦爵爷
相关分类