摘要: 1 package calssString; 2 3 public class concat___1_7 { 4 public static void main(String[] args) { 5 String strCom = "I LIKE "; 6 String strCom2 = "java"; 7 System.... 阅读全文
posted @ 2018-03-24 12:36 alm 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 1 package calssString; 2 3 public class compareToIgnoreCase___1_6 { 4 public static void main(String[] args) { 5 String comStr = "I LIKE JAVA"; 6 String comStr1 = "I LIKE P... 阅读全文
posted @ 2018-03-24 12:26 alm 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 1 package calssString; 2 3 public class compareTo___1_5 { 4 public static void main(String[] args) { 5 String comStr = "I LIKE JAVA"; 6 String comStr1 = "I LIKE PHP"; 7 ... 阅读全文
posted @ 2018-03-24 12:23 alm 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 1 package calssString; 2 3 public class codePointCount___1_4 { 4 public static void main(String[] args) { 5 String strCom = "I LIKE JAVA"; 6 int strLower = strCom.codePoint... 阅读全文
posted @ 2018-03-24 12:03 alm 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 1 package calssString; 2 3 public class codePointBefore___1_3 { 4 public static void main(String []args) { 5 6 String strCom = "I LIKE JAVA"; 7 int strLower = strCom.code... 阅读全文
posted @ 2018-03-24 11:53 alm 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1 package calssString; 2 3 public class codePointAt___1_2 { 4 public static void main(String []args){ 5 /** 6 * 返回指定索引处的字符代码 7 */ 8 9 String strCom = ... 阅读全文
posted @ 2018-03-24 11:46 alm 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1 package calssString; 2 3 public class charAt___1_1 { 4 public static void main(String []args){ 5 /** 6 * public char charAt(int index) 7 * 入口参数:index 是char的索引值... 阅读全文
posted @ 2018-03-24 11:11 alm 阅读(166) 评论(0) 推荐(0) 编辑