文章目录charAt(int index)indexOf(String s)toUpperCase()toLowerCase()length()startsWith(String s)endsWith(String suffix)equals(Object object)equalsIgnoreCase(String anotherString)trim()replace(char oldChar,char newChar)subString(int a)String.valueOf(数据)co…