1.equals方法引例
判断字符串内容是否相等:对象名.equals(对象名)
2.EqualsIgnore方法引例
判断字符内容是否相等时可忽略大小写:对象名.equalsIgnore(对象名)
3.charAt方法引例
获取某个索引的字符:对象名.charAt(索引)
4.toCharArray方法引例
把字符串转化为字符数组
5.substring方法引例
截取字符串
6.replace方法引例
替换字符串
7.contains方法引例
检查字符串是否包含
8.startsWith方法引例
检查字符串开头是否相同
9.split 方法引例
按照某个内容把字符串分割成字符数组返回