can you format a phone number to bring in 11 digits in mysql

Posted on 2011-05-06
Last Modified: 2012-05-11
Hi Experts,

Me again. I'm using Scriptcase and in the onvalidate event, i want to format what the user entered as digits in a phone number  to just bring in the digits, so if it is entered as 1 (931) 888-8888, i would like it to convert to 19318888888

How can i do this?

I have this
{FormatPhone}= Format({Phone}, 00000000000)

Is this the correct way?
Thanks :-)

Question by:linbayzak
    LVL 6

    Accepted Solution

    {FormatPhone}= Format({Phone}, '\00000000000')

    Author Closing Comment

    thanks, this works :-)
    LVL 6

    Expert Comment

    Any time

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    I have been using r1soft Continuous Data Protection ( for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now