Problem 91. Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes.
Note: This problem refers to American-style phone numbers. You can assume the first three digits of a ten-digit number will always be the area code.
Solution CommentsShow comments
Problem Recent Solvers1019