Top | ![]() |
![]() |
![]() |
![]() |
#define | RM_EMPTY_STRING() |
gchar * | rm_strcasestr () |
gchar * | rm_convert_utf8 () |
gboolean | rm_strv_contains () |
gchar ** | rm_strv_add () |
gchar ** | rm_strv_remove () |
#define RM_EMPTY_STRING(x) (!(x) || !strlen(x))
Convenient function to check for an empty string (either NULL or with a len of 0)
gchar * rm_strcasestr (const gchar *haystack
,const gchar *needle
);
Search for case-sensitive needle in haystack
gchar * rm_convert_utf8 (const gchar *text
,gssize len
);
Convert string (if needed) to UTF-8.
gboolean rm_strv_contains (const gchar * const *strv
,const gchar *str
);
Checks if strv
contains str