has_suffix


Description:

[ Version ( since = "2.2" ) ]
[ CCode ( cname = "g_str_has_suffix" ) ]
public bool has_suffix (string suffix)

Looks whether a string ends with suffix.

Parameters:

suffix

the suffix to look for

str

a string to look in

Returns:

true if str ends with suffix, false otherwise