Re: GLib substr function
- From: Valerio Messina <efa iol it>
- Cc: gtk-devel-list gnome org
- Subject: Re: GLib substr function
- Date: Fri, 10 Apr 2009 14:14:50 +0200
b0unc3 wrote:
there is any implementation of a substr function in GLib ?
I mean :
string = "hello world"
g_*substr*(string,2,6)
output = llo w
probably not, maybe because is something too simple like:
g_*strndup* (string+start, end-start+1);
Valerio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]