| 发表于:2008-01-23 22:32:191楼 得分:0 |
你可以使用 string.split method (char[], stringsplitoptions) 方法,譬如 string yourstring = "............."; string[] ss = yourstring.split(new char[]{' ','\t'},stringsplitoptions.removeemptyentries); 或者使用 string[] ss = system.text.regularexpressions.regex.split (yourstring,@"\s+"); | | |
|