摘要: import java.util.regex.Pattern; /** * @author hspcadmin * @date 2021-10-21 * */ public class MainApp { // 正则表达式 protected static final String REGEX = 阅读全文
posted @ 2021-10-21 15:59 柯南剧场版 阅读(100) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { // 字符串从后向前反向搜索, 搜索指定字符串在 源字符串的索引位置, 搜索不到返回-1 String str = "com_hundsun_customer"; int index = str.lastIndexOf 阅读全文
posted @ 2021-10-21 15:37 柯南剧场版 阅读(45) 评论(0) 推荐(0) 编辑