判断字符串是否以指定后缀结尾。
string.ends_with(search)
search
Bool。
Bool
text = 'hello BT' result = text.ends_with(1)