Format a phone number

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sheila Morton
    New Member
    • Jun 2007
    • 2

    #1

    Format a phone number

    Hi, I'm a new student of Visual Basic and this is my assignment question,
    please help:

    Given the statement: Dim phone As String = "8370402346 "
    write the statements for changing the contents of the phone variable to "(837)040-2346"

    Thanks
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Sorry to be somewhat abrupt with you, but this is the standard response that we are instructed to return for all such questions...

    The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

    Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

    Then when you are ready post a new question in this thread.

    MODERATOR

    Comment

    Working...