Question: I'd like to re-format a phone number in AMPscript from 1234567890 to (123) 456-7890 or 123-456-7890. I've tried using the Format function 

```
%%=Format(%%CLIENT_PHONE%%,"(###) ###-####")=%% 

```

where CLIENT\_PHONE evaluates to 1234567890.

Can someone help?

Answer: 
Answering my own question here - sorry for that - looks like I added too many % signs.

`%%=Format(CLIENT_PHONE,"(###) ###-####")=%%`

That corrected the issue, and it now works perfectly. Thanks all!
I don't have experience with AMPscript, but looking at the documentation, it appears that it uses C# syntax. Try 

```
%%=Format("{0:(###) ###-####}", %%CLIENT_PHONE%%)=%% 

```