The phone number part of the spec was vague so I tightened it up. Check the spec ->
again.
0211234567
(089)1234567
(089) 123 4567
087-123-4567
Are all valid phone numbers. You may assume that the customer has an 021 / 083 / 085 / 086 / 087 / 089 number.
The replace method will come in handy for stripping out the unwanted parts
Accounting for
+353871234567 is not required.
But it would make a nice extra
Monday, November 12, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment