Convert letters on a Telephone into Digits

Category:
String Manipulation
Type:
Snippets
Difficulty:
Beginning
Author:
Andrew Ells-O'Brien

Version Compatibility:

More information:
Since telephones do not have the letter Q or P, Q = P and Z = Y in this code.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: