Hi.

>       I have this nagging feeling, though, that there may be a
> better way to write this program since C is not as good at
> string manipulation as some other languages. In my program, you
> have to do a lot of grunt work just to be sure that the 15TH
> field really is the 15TH field in the string one is sending out.

Why not use regular expressions? It's included in the GNU C lib. Not as nice 
as in Perl, but it works:

#include <regex.h>

Regards,

   Hartwig



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201108301840.18535.hartwig.atr...@arcor.de

Reply via email to