endsWith(substring) -> Boolean
检查字符串是否以 substring 作为结尾。
substring
'slaughter'.endsWith('laughter') // -> true
Submit feedback about this site to: