String.startsWith(String prefix)
例:
String str1 = "abcdefg";
str1.startsWith("a");//true
posted on 2020-06-19 15:09 胜者为王东恺 阅读(366) 评论(0) 编辑 收藏 举报