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

    主站蜘蛛池模板: 免费无码又爽又刺激一高潮| 自拍偷自拍亚洲精品偷一| 十八禁视频在线观看免费无码无遮挡骂过 | 久久久久亚洲AV无码麻豆| kk4kk免费视频毛片| 亚洲综合色视频在线观看| 成人午夜影视全部免费看| 久久精品国产亚洲一区二区三区| 国产99精品一区二区三区免费| 亚洲国产一区二区视频网站| 一进一出60分钟免费视频| 亚洲色爱图小说专区| 久久精品无码专区免费青青| 亚洲国语在线视频手机在线| 免费黄网在线观看| 最好2018中文免费视频| 国产亚洲真人做受在线观看| 久久精品国产这里是免费| 亚洲狠狠狠一区二区三区| 成年人免费观看视频网站| 黄色免费网址在线观看| 亚洲av一综合av一区| 免费看h片的网站| 丰满亚洲大尺度无码无码专线| 亚洲一级特黄大片无码毛片 | 18禁止看的免费污网站| 国产精品亚洲精品观看不卡| 四虎国产精品免费视| a级毛片免费完整视频| 亚洲国产精品综合一区在线| 国产精品美女自在线观看免费| 一级做a毛片免费视频| 亚洲酒色1314狠狠做| 日本高清色本免费现在观看| 中国性猛交xxxxx免费看| 亚洲冬月枫中文字幕在线看| 亚洲国产天堂久久综合| 国产大片91精品免费观看不卡| 免费的黄网站男人的天堂| 久久精品亚洲一区二区三区浴池| 暖暖在线日本免费中文|