I am returning a phone number from a database stored as all 10 digits.
I want to parse it out to look like:
(###) ###-####
I am having trouble understand how to accomplish this from the following returning from the database:
string strModified = dt["HPhone"].ToString();
I want to parse it out to look like:
(###) ###-####
I am having trouble understand how to accomplish this from the following returning from the database:
string strModified = dt["HPhone"].ToString();