str_in_strv

@accepts(utf8, utf8)
@returns(gboolean)
def str_in_strv(needle, haystack)

Checks if @needle is present in the NULL-terminated string array @haystack.

needle :

string to search for

haystack :

array of strings to search

Returns :

True if found