<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Oracle神諭

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      284 隨筆 :: 9 文章 :: 106 評論 :: 0 Trackbacks

      以前的做分隔符獲取一個個字符串很是麻煩,其實JDK中的String 類已經很好的解決了這個問題。正則表達式確實是個好東西!

    split

    public String[] split(String regex)
    Splits this string around matches of the given regular expression.

    This method works as if by invoking the two-argument split method with the given expression and a limit argument of zero. Trailing empty strings are therefore not included in the resulting array.

    The string "boo:and:foo", for example, yields the following results with these expressions:

    Regex Result
    : { "boo", "and", "foo" }
    o { "b", "", ":and:f" }

    Parameters:
    regex - the delimiting regular expression
    Returns:
    the array of strings computed by splitting this string around matches of the given regular expression
    Throws:
    PatternSyntaxException - if the regular expression's syntax is invalid
    Since:
    1.4
    See Also:
    Pattern
    posted on 2005-09-29 16:23 java世界暢談 閱讀(1782) 評論(1)  編輯  收藏 所屬分類: JAVA

    評論

    # re: String.class 的split方法 2006-01-07 17:41 山之上,國有殤
    呵呵 地球人都知道  回復  更多評論
      

    主站蜘蛛池模板: h片在线播放免费高清| 亚洲av色香蕉一区二区三区蜜桃| 香蕉视频免费在线播放| 国产特级淫片免费看| 亚洲精品日韩一区二区小说| 最近的免费中文字幕视频| 亚洲а∨天堂久久精品9966| 永久免费的网站在线观看| 亚洲天堂免费在线| 韩国18福利视频免费观看| 国产精品亚洲专区无码牛牛| 亚洲精品无码成人片在线观看| 久香草视频在线观看免费| 永久亚洲成a人片777777| 九九美女网站免费| 亚洲精品免费在线视频| 最新中文字幕免费视频| 亚洲av午夜电影在线观看| 亚洲国产精品视频| 一级毛片全部免费播放| 亚洲人xxx日本人18| 在线日韩av永久免费观看| 一级做a爰片久久免费| 亚洲精品成人无限看| 67pao强力打造国产免费| 在线a亚洲老鸭窝天堂av高清| 又粗又硬又大又爽免费视频播放| 亚欧洲精品在线视频免费观看| 亚洲国产精久久久久久久| 日韩吃奶摸下AA片免费观看| 国产亚洲福利一区二区免费看| 77777亚洲午夜久久多人| 中国人xxxxx69免费视频| 美女被爆羞羞网站免费| 亚洲国产精品久久| 日韩一区二区在线免费观看| 中文精品人人永久免费 | 亚洲毛片免费观看| 亚洲性无码AV中文字幕| 中文字幕亚洲一区二区va在线| 91九色老熟女免费资源站|