摘要: 需求: 给定一个字符串s,判断当s中包含“tree fiddy"或“3.50”或“three thirty”子字符串返回true,否则返回false. 题目来自代码勇士。 import java.util.regex.Pattern; /** * 判断字符串中是否包含某字符串 * * @author 阅读全文
posted @ 2017-12-14 23:12 一锤子技术员 阅读(24) 评论(0) 推荐(0) 编辑