2018年3月12日

java.lang.String.regionMatches方法使用

摘要: regionMatches(boolean ignoreCase,int toffset,String other,int ooffset,int len); regionMatches(int toffset,String other,int ooffset,int len); 上述两个方法用来比较两个字符串中指定区域的子串。入口参数中,用toffset和ooffset分别指出当前字符串中的... 阅读全文

posted @ 2018-03-12 17:17 AlexGeng 阅读(880) 评论(0) 推荐(0) 编辑

导航