By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,389 Members | 2,065 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,389 IT Pros & Developers. It's quick & easy.

Format string for phone number

P: n/a
Hi,

I am wondering if there is any format string for phone number. Just like
those dd:mm:yyyy or C for currency. Can anyone enlighten me?

Thank you in advance,

Sunny
Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Sansanee,
I am wondering if there is any format string for phone number. Just like
those dd:mm:yyyy or C for currency. Can anyone enlighten me?

Do you have in mind Cairo or an other City on earth?

I hope with showing this that this is almost impossible, everywhere are
other telephone formats used.

In the small country I live at least 3.

Cor
Jul 21 '05 #2

P: n/a
As Cor said already, this format is different in different places. But you
can use regular expressions to define a format for as required by your
application.

Girish

"Cor Ligthert" wrote:
Sansanee,
I am wondering if there is any format string for phone number. Just like
those dd:mm:yyyy or C for currency. Can anyone enlighten me?

Do you have in mind Cairo or an other City on earth?

I hope with showing this that this is almost impossible, everywhere are
other telephone formats used.

In the small country I live at least 3.

Cor

Jul 21 '05 #3

P: n/a
At least something like +{2 digits} for country code then {some digits}
(usually not beginning with 0 if you added the country code before) for
the place and {more digits} for the actual number... but there is not
much else you can do about the 'format'.

GirishKumar schrieb:
As Cor said already, this format is different in different places. But you
can use regular expressions to define a format for as required by your
application.

Girish

"Cor Ligthert" wrote:

Sansanee,

I am wondering if there is any format string for phone number. Just like
those dd:mm:yyyy or C for currency. Can anyone enlighten me?


Do you have in mind Cairo or an other City on earth?

I hope with showing this that this is almost impossible, everywhere are
other telephone formats used.

In the small country I live at least 3.

Cor

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.