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?