We're a place where coders share, stay up-to-date and grow their careers.
Standard ML of New Jersey Solution
val vowels = [#"a", #"e", #"i", #"o", #"u"] fun member_of (item, list) = List.exists (fn x => x = item) list fun disemvowel s = implode (List.filter (fn x => not(member_of(Char.toLower x, vowels))) (explode s))
Standard ML of New Jersey Solution