SimpleScript

Documentation - S.format_phonenumber

Use

s.format_phonenumber(phone number)

Description

Returns a dash-formatted phone number. For example: 2504554443 -> (250) 455-4443

Example

v.foo = s.format_phonenumber(18008675309)
s.echo(v.foo)