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 [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to