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

Re: SV: [FWP] What is regex



>From: patrik.grip-jansson@vv.se
>> if ((substr(data,0,4)) == "JAPH") {
>>   /* Do stuff... */

> Oops, I forgot to "complain" about the C code! In C one would write;
>
> if(!strncmp(data,"JAPH"),4)) {
>  /* Do something */
> }


I've always said C was harder.

-Sneex-  :]

==== Want to unsubscribe from this list? (Don't you love us anymore?)
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org