Cody

# Problem 22. Remove the vowels

Solution 2458220

Submitted on 2 Jun 2020 by Rafael S.T. Vieira
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)))

s2 = "J" s2 = "Jc" s2 = "Jck" s2 = "Jck " s2 = "Jck n" s2 = "Jck nd" s2 = "Jck nd " s2 = "Jck nd J" s2 = "Jck nd Jl" s2 = "Jck nd Jll" s2 = "Jck nd Jll " s2 = "Jck nd Jll w" s2 = "Jck nd Jll wn" s2 = "Jck nd Jll wnt" s2 = "Jck nd Jll wnt " s2 = "Jck nd Jll wnt p" s2 = "Jck nd Jll wnt p " s2 = "Jck nd Jll wnt p t" s2 = "Jck nd Jll wnt p th" s2 = "Jck nd Jll wnt p th " s2 = "Jck nd Jll wnt p th h" s2 = "Jck nd Jll wnt p th hl" s2 = "Jck nd Jll wnt p th hll"

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)))

s2 = " " s2 = " d" s2 = " dn" s2 = " dn'" s2 = " dn't" s2 = " dn't " s2 = " dn't w" s2 = " dn't wn" s2 = " dn't wnt" s2 = " dn't wnt " s2 = " dn't wnt t" s2 = " dn't wnt t " s2 = " dn't wnt t w" s2 = " dn't wnt t wr" s2 = " dn't wnt t wrk" s2 = " dn't wnt t wrk." s2 = " dn't wnt t wrk. " s2 = " dn't wnt t wrk. " s2 = " dn't wnt t wrk. j" s2 = " dn't wnt t wrk. js" s2 = " dn't wnt t wrk. jst" s2 = " dn't wnt t wrk. jst " s2 = " dn't wnt t wrk. jst w" s2 = " dn't wnt t wrk. jst wn" s2 = " dn't wnt t wrk. jst wnt" s2 = " dn't wnt t wrk. jst wnt " s2 = " dn't wnt t wrk. jst wnt t" s2 = " dn't wnt t wrk. jst wnt t " s2 = " dn't wnt t wrk. jst wnt t b" s2 = " dn't wnt t wrk. jst wnt t bn" s2 = " dn't wnt t wrk. jst wnt t bng" s2 = " dn't wnt t wrk. jst wnt t bng " s2 = " dn't wnt t wrk. jst wnt t bng n" s2 = " dn't wnt t wrk. jst wnt t bng n " s2 = " dn't wnt t wrk. jst wnt t bng n t" s2 = " dn't wnt t wrk. jst wnt t bng n th" s2 = " dn't wnt t wrk. jst wnt t bng n th " s2 = " dn't wnt t wrk. jst wnt t bng n th d" s2 = " dn't wnt t wrk. jst wnt t bng n th dr" s2 = " dn't wnt t wrk. jst wnt t bng n th drm" s2 = " dn't wnt t wrk. jst wnt t bng n th drm " s2 = " dn't wnt t wrk. jst wnt t bng n th drm l" s2 = " dn't wnt t wrk. jst wnt t bng n th drm ll" s2 = " dn't wnt t wrk. jst wnt t bng n th drm ll " s2 = " dn't wnt t wrk. jst wnt t bng n th drm ll d" s2 = " dn't wnt t wrk. jst wnt t bng n th drm ll dy" s2 = " dn't wnt t wrk. jst wnt t bng n th drm ll dy."

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!