phone10 | R Documentation |
..
phone10(x, sep = "")
x |
character vector |
sep |
character scalar |
Function phone10 converts all US and Canada (+1) phone numbers to 10-digit.
Function phone10 returns a character vector of nchar-10.
x = c(
'+1(800)275-2273', # Apple
'1-888-280-4331', # Amazon
'000-000-0000'
)
phone10(x)
phone10(x, sep = '-')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.