2024年5月26日

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