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