Problem: I would like add characters to a phone.
So instead of displaying ###-###-####, I would like to display (###) ###-####.
I tried the foll
To insert string in particular position you can use Insert function.
Insert
Here is an example:
string phone = "111-222-8765"; phone = phone.Insert(0, "("); // (111-222-8765 phone = phone.Insert(3, ")"); // (111)-222-8765