Vowel Replacer

Published by Pickle in

Create a function that replaces all the vowels in a string with a specified character.

Examples

ReplaceVowels("the aardvark", '#') ➞ "th# ##rdv#rk"

ReplaceVowels("minnie mouse", '?') ➞ "m?nn?? m??s?"

ReplaceVowels("shakespeare", '*') ➞ "sh*k*sp**r*"

Notes

All characters will be in lower case.

Watch a quick demo on how Edabit works.