mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 03:36:21 +00:00
Added str_contains_str to common
This commit is contained in:
@@ -192,6 +192,12 @@ str_replace(const char *string, const char *substr,
|
||||
return newstr;
|
||||
}
|
||||
|
||||
gboolean
|
||||
str_contains_str(char *searchstr, char *substr)
|
||||
{
|
||||
return g_strrstr(searchstr, substr) != NULL;
|
||||
}
|
||||
|
||||
int
|
||||
str_contains(const char str[], int size, char ch)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user