Cody

Solution 1505774

Submitted on 26 Apr 2018 by David Arnold
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 = 'Jck nd Jll wnt p th hll'; assert(isequal(s2,refcn(s1)))

i = 1 3 4 5 7 8 9 10 12 13 14 15 17 18 19 21 22 23 24 26 27 29 30

2   Pass
s1 = 'I don''t want to work. I just want to bang on the drum all day.'; s2 = ' dn''t wnt t wrk. jst wnt t bng n th drm ll dy.'; assert(isequal(s2,refcn(s1)))

i = Columns 1 through 30 2 3 5 6 7 8 9 11 12 13 14 16 17 19 20 21 22 24 25 27 28 29 30 32 33 34 35 37 38 40 Columns 31 through 47 41 42 44 45 46 47 49 50 51 53 54 56 57 58 59 61 62