# usphfmt

### usphfmt(source)

Returns a string with any non-digit characters removed and the number formatted as a US style phone number:

(123)456-7890

## Arguments

Argument | Data Type | Description
source | string or field | String or field

## Returns

String with non-digit characters removed and the number formatted

## Description

Typically used with phone number strings which may include non-digit characters like spaces or brackets, this function returns a string containing only the correct format for a US phone number

## Examples

Example | Returns | Description
usphfmt("(555 654-2345") | "(555) 654-2345" |

## See Also

stripphno()