Cody

# Problem 13. Remove all the consonants

Solution 1226283

Submitted on 6 Jul 2017 by Salvatore Lacava
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
s1 = 'Jack and Jill went up the hill'; s2 = 'a a i e u e i'; assert(isequal(s2,refcn(s1)))

s1 = 'Jack and Jill went up the hill' s1 = 'Jak and Jill went up the hill' s1 = 'Jak an Jill went up the hill' s1 = 'Jak an Jill went up the hill' s1 = 'Jak an Jill went up the hill' s1 = 'Jak an Jill went up te ill' s1 = 'ak an ill went up te ill' s1 = 'ak an ill went up te ill' s1 = 'a an ill went up te ill' s1 = 'a an i went up te i' s1 = 'a an i went up te i' s1 = 'a a i wet up te i' s1 = 'a a i wet u te i' s1 = 'a a i wet u te i' s1 = 'a a i wet u te i' s1 = 'a a i wet u te i' s1 = 'a a i we u e i' s1 = 'a a i we u e i' s1 = 'a a i e u e i' s1 = 'a a i e u e i' s1 = 'a a i e u e i' s1 = 'a a i e u e i' s2 = 'a a i e u e i'

2   Pass
s1 = 'I don''t want to work. I just want to bang on the drum all day.'; s2 = 'I o'' a o o. I u a o a o e u a a.'; assert(isequal(s2,refcn(s1)))

s1 = 'I don't want to work. I just want to ang on the drum all day.' s1 = 'I don't want to work. I just want to ang on the drum all day.' s1 = 'I on't want to work. I just want to ang on the rum all ay.' s1 = 'I on't want to work. I just want to ang on the rum all ay.' s1 = 'I on't want to work. I just want to an on the rum all ay.' s1 = 'I on't want to work. I just want to an on te rum all ay.' s1 = 'I on't want to work. I just want to an on te rum all ay.' s1 = 'I on't want to work. I ust want to an on te rum all ay.' s1 = 'I on't want to wor. I ust want to an on te rum all ay.' s1 = 'I on't want to wor. I ust want to an on te rum a ay.' s1 = 'I on't want to wor. I ust want to an on te ru a ay.' s1 = 'I o't wat to wor. I ust wat to a o te ru a ay.' s1 = 'I o't wat to wor. I ust wat to a o te ru a ay.' s1 = 'I o't wat to wor. I ust wat to a o te ru a ay.' s1 = 'I o't wat to wo. I ust wat to a o te u a ay.' s1 = 'I o't wat to wo. I ut wat to a o te u a ay.' s1 = 'I o' wa o wo. I u wa o a o e u a ay.' s1 = 'I o' wa o wo. I u wa o a o e u a ay.' s1 = 'I o' a o o. I u a o a o e u a ay.' s1 = 'I o' a o o. I u a o a o e u a ay.' s1 = 'I o' a o o. I u a o a o e u a a.' s1 = 'I o' a o o. I u a o a o e u a a.' s2 = 'I o' a o o. I u a o a o e u a a.'