On Thu, 19 Jun 1999, Bill Jones wrote: > So, instead of saying, say in C: > if ((substr(data,0,4)) == "JAPH") { > /* Do stuff... */ > } > In perl (or any RE aware language) one could say: > > do stuff() if /'JAPH'/; Actually in perl one would say something along the lines of; stuff() if $data=~m/^JAPH/; ==== 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