Re: [GLib] How to get substrings?
- From: Iago Rubio <iago rubio hispalinux es>
- To: gtk-app-devel-list gnome org
- Subject: Re: [GLib] How to get substrings?
- Date: Thu, 11 Nov 2004 17:08:51 +0100
On Tue, 2004-11-09 at 19:28, Martyn Russell wrote:
On Tue, 2004-11-09 at 09:06 -0800, Alan M. Evans wrote:
Isn't that a bit much? How about...
You probably would want to move pos1 on the length of needle1 before
looking for needle2 first, otherwise if you look for something between
"$" and "$" pos2 will be the same as pos1.
Please read again the code.
You snipped the line were pos1 is moved.
if( (pos1 += strlen(needle1)) >= pos2)
Regards.
--
Iago Rubio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]