摘要:
public String trim() 去掉字符前后的空格 public String toUperCase() 将小写转成大写 public boolean endWith(String str) 判断字符串是否以str结尾 public static void main(String[] ar 阅读全文
2024年5月26日
摘要:
public char[] toCharArray() 将字符串转换成数组。 pubulic int indexOf(String str) 查找str首次出现的下标,存在,则返回该下标;不存在,则返回-1。 public int last IndexOf(String str) 查找字符串在当前字 阅读全文