Re: Telephone numbers

[ Delphi Forum ]

Posted by Lennie De Villiers on May 12, 2003 at 12:21:21:

In Reply to: Telephone numbers posted by Phillip on May 10, 2003 at 11:36:09:


Must I write the program for you ? Or do you want to write it yourself and is just asking "how" ?

: Hello I own a small business and I have several hundred phone numbers that I have to organise I was wondering if you could write me a small simple program that reads a ten digit telephone number then extracts the 2-digit area code, and divides the number into two separate 4 digit blocks.

: Like this:

: Enter a 10-digit telephone number: 0734567890

: You entered 0734567890

: The area code is 07

: The complete telephone number is (07) 3456-7890

: If someone could help me it would make my job alot easier.

Related Articles and Replies:

[ Delphi Forum ]