Format string for phone number

  • Thread starter Thread starter Sansanee
  • Start date Start date
S

Sansanee

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
 
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
 
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
 
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'.
 
Back
Top