1.charAt
举例:
2.codePointAt
举例:
3.codePointBefore:
举例:
4.codePointCount:
举例:
5.getChars:
举例:
运行结果:
6.getBytes:
举例:
7.equals:(比较两个字符串)
举例:
8.equalsIgnoreCase:
举例:
9.compareTo:
举例:
10.compareToIgnoreCase:
举例:
11.startsWith:
举例:
12.endWith:
举例:
13.hashCode:
举例:
14.indexOf:
举例:
标签:String,hashCode,equalsIgnoreCase,getChars,举例,用法 From: https://www.cnblogs.com/lbqq/p/16977368.html