<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 山之上,國有殤
    呵呵 地球人都知道  回復  更多評論
      

    主站蜘蛛池模板: 无码日韩精品一区二区三区免费| WWW亚洲色大成网络.COM | 亚洲精品视频在线观看免费| 一区在线免费观看| 中文字幕在亚洲第一在线| 美女扒开屁股让男人桶爽免费| 国产成人免费ā片在线观看 | 免费又黄又硬又爽大片| 国产亚洲人成在线播放| 免费日韩在线视频| 丁香六月婷婷精品免费观看| 国产亚洲精品a在线观看| 羞羞视频免费网站在线看| 亚洲女同成av人片在线观看| 免费无码H肉动漫在线观看麻豆| 亚洲欧洲第一a在线观看| 5555在线播放免费播放| 亚洲伊人色一综合网| 成人免费无码视频在线网站| 大桥未久亚洲无av码在线| 国产黄色一级毛片亚洲黄片大全| 欧洲人免费视频网站在线| 亚洲欧洲日韩在线电影| 免费毛片在线视频| 亚洲阿v天堂在线2017免费| 亚洲国产精品无码中文字| 91精品免费国产高清在线| 激情婷婷成人亚洲综合| 亚洲精品无码永久中文字幕| 18禁美女裸体免费网站| 国产精品手机在线亚洲| 亚洲国产精品特色大片观看完整版| 在线看片免费人成视久网| AV激情亚洲男人的天堂国语| 亚洲无线码一区二区三区| 18勿入网站免费永久| 免费人成又黄又爽的视频在线电影| 亚洲国产AV无码专区亚洲AV| 欧美男同gv免费网站观看| 一级做a免费视频观看网站| 久久精品国产亚洲77777|