<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另类vr影视| 最近的中文字幕大全免费版| 亚洲日韩一区二区三区| 在线观看免费污视频| 真人无码作爱免费视频| 亚洲男人第一无码aⅴ网站 | 亚洲精品国产摄像头| 日本免费高清一本视频| 免费人人潮人人爽一区二区| 亚洲毛片不卡av在线播放一区| a高清免费毛片久久| 国产成人精品日本亚洲| 50岁老女人的毛片免费观看| 亚洲欧美日韩中文无线码| 国产v片免费播放| 永久免费A∨片在线观看| 亚洲男人电影天堂| 日韩免费高清视频网站| caoporm超免费公开视频| 亚洲伊人tv综合网色| 四虎影视免费在线| 中文字幕免费在线看线人动作大片 | 免费欧洲美女牲交视频| 中文字幕在线免费观看视频| 亚洲第一永久在线观看| 四虎成人免费影院网址| 99久久免费国产精品热| 亚洲一区精彩视频| 在线观看亚洲精品福利片| 91成人免费观看| 色天使亚洲综合一区二区| 国产成人无码综合亚洲日韩| 最新仑乱免费视频| 在线观看特色大片免费网站| www.亚洲成在线| 亚洲精品乱码久久久久66| 毛片免费在线观看网站|