110,536
社区成员
发帖
与我相关
我的任务
分享
string str = "a aa ccded df";
Regex reg = new Regex(@"(?<=\s).*?(?=\s)");
static void Main(string[] args)
{
string str = "a aa ccded df";
string[] strs = str.Split(' ');
foreach(string s in strs)
{
if (s != "")
Console.WriteLine(s);
}
Console.ReadLine();
}