This is a patch for the glib-1.2.6
by Martin Oberzalek <
[email protected]>
I added the g_strinstr function to g_str* functions.
g_strinstr -> g_str in string
That's a port of INSTR command from basic.
I actually port a basic application to gnome and so I need that function.
gint g_strinstr( gchar *text, gchar *word )
text: A string where should be searched for the keyword.
word: The keyword.
returns: The function returns the position of the keyword, if the keyword
is found. If not it returns -1.
The functions starts counting the position with 0.
I hope I helped you.