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

Re: glib split string



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]