Confirm the Ending

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

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

人生如逆旅,我亦是行人
原文地址:https://www.cnblogs.com/renbo/p/6637414.html