摘要:
package Demo_1_22_String; import java.util.Locale; public class StringConcat { public static void main(String[] args) { String strA = "www.sss.cn"; St 阅读全文
摘要:
package Demo_1_22_String; public class StringFormat { public static void main(String[] args) { String name = "张三"; int age = 19; double score = 98.212 阅读全文
摘要:
package Demo_1_22_String; public class StringCut { public static void main(String[] args) { String str = "www.ccc.com"; // String user = "用户ID-photo-姓 阅读全文
摘要:
package Demo_1_22_String; public class StringSplit { public static void main(String[] args) { String str = "www ccc com"; // 全部拆分 String result[] = st 阅读全文
摘要:
package Demo_1_22_String; public class StringReplace { public static void main(String[] args) { String str = "www.ccc.com"; System.out.println(str.rep 阅读全文
摘要:
package Demo_1_22_String; public class StringFind { public static void main(String[] args) { String str = "www.ccc.com"; String str1 = "**@@www.ccc.co 阅读全文
摘要:
package Demo_1_22_String; public class StringCompare { public static void main(String[] args) { String strA = "a"; String strB = "A"; System.out.print 阅读全文
摘要:
package Demo_1_22_String; public class String_byte { public static void main(String[] args) { String str = "www.baidu.com"; byte [] bytes = str.getByt 阅读全文
摘要:
package Demo_1_22_String; public class StringDemo { public static void main(String[] args) { String str = "www.baidu.com"; char c = str.charAt(4); // 阅读全文