Cody

# Problem 43662. Use R2016b Text Manipulations to Fix These Addresses (Part 3)

Solution 1103141

Submitted on 12 Jan 2017 by James
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
x = '950 Blue Hill Ave.Dorchester, MA 02124'; y = string('950 Blue Hill Ave., Dorchester, MA 02124'); assert (all(y == myFun(x)));

str = 950 Blue Hill Ave remain = .Dorchester, MA 02124 ans = 950 Blue Hill Ave., Dorchester, MA 02124

2   Pass
x = '259 Allandale Rd.Jamaica Plain, MA 02467'; y = string('259 Allandale Rd., Jamaica Plain, MA 02467'); assert (all(y == myFun(x)));

str = 259 Allandale Rd remain = .Jamaica Plain, MA 02467 ans = 259 Allandale Rd., Jamaica Plain, MA 02467

3   Pass
x = '850 Harrison Ave.Boston, MA 02118'; y = string('850 Harrison Ave., Boston, MA 02118'); assert (all(y == myFun(x)));

str = 850 Harrison Ave remain = .Boston, MA 02118 ans = 850 Harrison Ave., Boston, MA 02118

4   Pass
x = '23-29 Tucker St.Dorchester, MA 02124'; y = string('23-29 Tucker St., Dorchester, MA 02124'); assert (all(y == myFun(x)));

str = 23-29 Tucker St remain = .Dorchester, MA 02124 ans = 23-29 Tucker St., Dorchester, MA 02124