标签:int with system art sys 字符串 back ack color
String str5 = "293陕西力拓888";
System.out.println(str5.startsWith("293"));
System.out.println(str5.endsWith("888"));
if(str5.startsWith("293")) {
System.out.println("293陕西力拓888"+"以293开头");
}
if(str5.endsWith("888")) {
System.out.println("293陕西力拓888"+"以888结尾");
}
}
标签:int with system art sys 字符串 back ack color
原文地址:https://www.cnblogs.com/wangffeng293/p/13294609.html