Confirm the Ending

检查一个字符串(str)是否以指定的字符串(target)结尾。

如果是,返回true;如果不是,返回false。

posted @ 2017-03-28 22:42  稀算客  阅读(166)  评论(0)    收藏  举报