Display phone format strings

anyone got some methods to pass in a ten strin phone nober and have it come out as (320) 259-0539