Str.strHasSuffix

Looks whether the string str ends with suffix. Since 2.2

class Str
static
int
strHasSuffix
(
string str
,
string suffix
)

Parameters

str string

a nul-terminated string

suffix string

the nul-terminated suffix to look for

Return Value

Type: int

TRUE if str end with suffix, FALSE otherwise.

Meta