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

Re: String Manipulation and a Need for RS-232


> 	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>



Reply to: