以下哪个方法可以用于检查字符串是否以指定的后缀结尾?
A、endswith()
B、isendwith()
C、hasend()
D、suffixof()
正确答案:endswith()
相关答案
热门答案