2018年4月21日
摘要: 字符串查找 两种查找字符串的方法,indexOf(String s)和lastIndexOf(String s)。 获得指定索引位置的字符 使用chatAt(int index)将指定索引位置的字符返回 获得子字符串 使用substring()方法截取字符串 字符串分割 使用split()方法可以使 阅读全文
posted @ 2018-04-21 20:15 程序员大彬 阅读(157) 评论(0) 推荐(0) 编辑