2011-05-24 67 views

回答

0

用空字符串替换/^\d\s*/

1

您可能会显示一些关于如何排序/显示该列表的代码。

从一个字符串中删除初始号码:

string newString = Regex.Replace(oldString, @"^\d\s*", String.Empty); 
0

从字符串中移除所有的空格,使用

result = Regex.Replace(subject, @"\s+", ""); 
+0

是什么题目? – wanda 2011-05-24 14:42:09

+0

@wanda:您的输入字符串。 – 2011-05-24 14:51:04