[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: glib split string
- From: Jason Murray <lather electrografix com>
- To: lather electrografix com
- CC: gtk-app-devel-list redhat com
- Subject: Re: glib split string
- Date: Wed, 02 Jun 1999 10:34:45 -0500
greetings!,
i hope this helps you:
#include <stdio.h>
#include <glib.h>
int main()
{
gchar **str;
str = g_strsplit("hello:world:foo:bar", ":", 4);
g_print("%s, %s!\n", str[0], str[1]);
g_print("%s\n", g_strjoinv(" ", str));
g_strfreev(str);
return 0;
}
i do not know about any nntp clients...
kindest regards,
jason
electrografix new media
http://www.electrografix.com/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]