string replace function



I was thinking of making a g_strrpl and g_strnrpl
The first one takes (gchar*,gchar*) and returns a gchar* in which the all
instances of the second gchar* will be found and replaced in the first
gchar*.
The second one is the same, but only replaces the first n instances.

But what i would like to know, is if i write this, and include it in the
glib/gstrfuncs.c in a patch, would it be included.

-- 
Thanks
Kevin Anthony
www.NoSideRacing.com

Do you use Banshee?
Download the Community Extensions:
http://banshee.fm/download/extensions/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]