判断一个字符串是否以另一个字符结尾

字符串方法:boolean endsWith (String s); 判断一个字符串是否以另一个字符结尾。(区分大小写)

posted @ 2020-10-07 23:24  SimonShixinlong  阅读(491)  评论(0)    收藏  举报