equals()方法：比较两个字符串是否内容一致，严格区分大小写
length()方法：返回字符串的长度
equalsIgnoreCase() ：比较两个字符串是否一致，不区分大小写
charAt():返回指定索引位置的字符
toCharArray():返回一个字符数组
substring(beginIndex,endIndex):从开始位置到结束位置进行截取字符串，返回截取后的字符串。
比如字符串：abcdef  substring(2,5)  得到的结果为：cde
substring(beginIndex):从索引值位置截取到结尾
split(regex):根据传入的字符串(也可以是正则表达式)进行切割，返回分隔后的字符串数组
replace(CharSequence target, CharSequence replacement)  将字符串中所有的target都换成replacement
比如字符串：hello world replace("l", "z") 得到结果：hezzo worzd