解决方案 »

  1.   

    本帖最后由 caozhy 于 2014-07-04 23:20:32 编辑
      

  2.   


      string s = "(A)运用数字    (B)下象棋或国际象棋      (C)科学或数学项目  (D)擅用金钱  (E)用电脑      (F)做实验                (G)解逻辑迷津      (H)用计算器  (I)解数学题    (J)在心中玩数字游戏";
                string[] str = s.Split(new string[] {" "}, StringSplitOptions.RemoveEmptyEntries);
      

  3.   

    再用一次split
     string[] s1 = s.Split('.');
                string[] str = s1[1].Split(new string[] {" "}, StringSplitOptions.RemoveEmptyEntries);
      

  4.   


    String str = "2.(A)运用数字    (B)下象棋或国际象棋      (C)科学或数学项目  (D)擅用金钱  (E)用电脑      (F)做实验                (G)解逻辑迷津      (H)用计算器  (I)解数学题    (J)在心中玩数字游戏";
                String[] list = Regex.Split(str, @"\d+.|\s+").ToArray();