Skip to main content
added 23 characters in body
Source Link
Wheat Wizard
  • 102.9k
  • 23
  • 299
  • 698

Haskell, 5048 bytes

g.span(`notElem`"aeiou") g(s,"")=s g(_,r)="shm"++r 
g.break(`elem`"aeiou") g(s,"")=s g(_,r)="shm"++r 

Try it online!Try it online!

Haskell, 50 bytes

g.span(`notElem`"aeiou") g(s,"")=s g(_,r)="shm"++r 

Try it online!

Haskell, 48 bytes

g.break(`elem`"aeiou") g(s,"")=s g(_,r)="shm"++r 

Try it online!

Bounty Awarded with 150 reputation awarded by xnor
Source Link
Wheat Wizard
  • 102.9k
  • 23
  • 299
  • 698

Haskell, 50 bytes

g.span(`notElem`"aeiou") g(s,"")=s g(_,r)="shm"++r 

Try it online!