Hey,
String.Format("{0###) ###-####}", 1231231234) produces (123) 123-1234
String.Format("{0###) ###-####}", 123) produces
() -123
How can I left align it so that if only 3 digits are provided, it returns (123) -
Thanks,
|
Results 1 to 4 of 4
Thread: String.Format phone number
|
Click Here to Expand Forum to Full Width |