Search and Replace in GList
- From: "Joel Bryan Juliano" <joelbryan juliano gmail com>
- To: gtk-list <gtk-list gnome org>
- Subject: Search and Replace in GList
- Date: Tue, 8 Jan 2008 12:35:07 +0800
Hi,
I have a GList that contains many strings similar to [foo1, foo2,
foo3], that came from a file.
Due to many number of strings the variable contains, I would like to
create a function that
search "foo12345" and replace it with "newstring12345", then commit
again to the file.
I'm thinking the function would be like the following syntax.
GList* g_list_search_and_replace_data (GList *list, gpointer data,
gpointer user_data);
Can someone help?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]