Greg Ewing <greg@cosc.canterbury.ac.nz> writes: > Marcus Mendenhall <marcus.h.mendenhall@vanderbilt.edu>: > > > Just: if (string[0]=='<' && not strncmp(string,"<numeric>",9)) > > {whatever} > > By the same token, checking whether the first char is > a digit ought to weed out about 99.999% of all > non-numeric domain name addresses. 3m.com is a registered domain name. Regards, Gisle Aas, ActiveState