ASP 101 - Active Server Pages 101 - Web05
The Place ASP Developers Go!

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

Script Output:
Phone number before formatting: 1-800-555-1212
Phone number after formatting: (800) 555-1212
Phone number to format: 

ASP HTML Download            FAQ

ASP.NET Version

Once again one of our visitors has come up with a useful function to make your life easier. He actually even wrote the code for us! As usual, I've gone through and commented the heck out of it and so you won't be bored I've also done my best to complicate it up for you! ;)

But seriously, all I've really done is add some code to allow it to take a wider variety of formats for input and added some Err.raising so that if something goes wrong it raises a real error so you can handle it via VBScript's built in error handling.

That's all I've really got to say about it so give it a look and lets all give a big round of applause and heartfelt thanks to our anonymous contributor!


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers