Home Forums Article Discussions Article Discussions by Author Discuss content posted by Harsha Majety Format Phone Number function RE: Format Phone Number function
Jay Discount
Valued Member
Points: 61
More actions
December 7, 2010 at 5:15 am
#1259467
This code seems like a very convoluted way to parse a 10 digit number and put parenthesis, spaces and dashes in the result.
Why not check for numeric and if true use the substr command to create the result?