strHasSuffix

fnbool strHasSuffix(string str, string suffix)

Looks whether a string ends with suffix.

Parameters

stra string to look in
suffixthe suffix to look for

Returns

true if str ends with suffix, false otherwise