strHasSuffix

fun strHasSuffix(str: String, suffix: String): Boolean

Looks whether a string ends with @suffix.

Return

true if @str ends with @suffix, false otherwise

Since

2.2

Parameters

str

a string to look in

suffix

the suffix to look for