AgsStringUtil
AgsStringUtil — string util
|
|
Includes
#include <ags/lib/ags_string_util.h>
Description
Common string utility functions.
Functions
ags_string_util_escape_single_quote ()
gchar *
ags_string_util_escape_single_quote (gchar *str
);
Escape all occurence of single quotes.
Returns
the newly allocated string
Since: 1.0.0
ags_strv_length ()
guint
ags_strv_length (gchar **str_array
);
Count the number of non-NULL
entries in the array.
Returns
the length of the vector
Since: 1.0.0
ags_strv_contains ()
gboolean
ags_strv_contains (gchar **str_array
,
gchar *str
);
Check occurence of str
within str_array
Returns
TRUE
if found, else FALSE
Since: 1.0.0