On Fri, 2010-11-26 at 09:03 +0530, Dhananjay Nene wrote: > So all one really needs to do (say if one wants to call back) is to > extract > one single 10 digit number using the above logic by stripping off the > optional prefixes and the extra characters (which I presume would be > quite > trivial). But then maybe my mind is not working well today early > morning :)
and how does one distinguish the STD code from the phone number? my std code is 4 digits and my phone number is 7 digits - but someone can assume that the std code is 3 digits and the phone number is 8 digits - and when he comes within my local area, he cannot phone me. That is why the STD code and the phone number *must* be separated by something, otherwise it is impossible to parse. -- regards Kenneth Gonsalves _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers