Use of GString



All:

I was reading up on the use of GString.  It seems to have some nice
convenience functions.  But how would you split a tokenized string, or
use a GString in any other function that expects gchar* as an argument? 
As follows:

GString *gstr;
gchar **splitstr;

splitstr = g_strsplit(gstr->str, "delimiter", 0);

???  Any thoughts?  Thanks.

Neil





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