Re: sub string



On 10 Jul 2001 09:53:19 -0500, defcon5 ec-red com wrote:
Hi

I have in the variable  gchar *aux = "name_of_directory/name_of_file";
I want to copy only the substring /name_of_file to another gchar ...
how can i do that??
with strtok??

or with g_basename

cheers

--
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/




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