Telephone number format

Results 1 to 2 of 2

Thread: Telephone number format

  1. #1
    Nath Guest

    Default Telephone number format

    I am displaying in a HTML table values from SQL server table.<BR>I would like to display Telephone number field in a particular format like ###-###-####. Is there any function in VBScript which helps me to do this.<BR><BR>Could someone let me know Please.<BR>Thank You so much

  2. #2
    Ed Guest

    Default RE: Telephone number format

    Use the Mid function to pick apart the unformatted phone number string. Print three characters, then a dash, three characters, then a dash, and finally the final four.<BR><BR>There is no prewritten VBScript function to do this, but writing your own shouldn&#039t be hard. If you need help on doing this, reply!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts