Categories
Medium Problems

โจทย์ข้อที่ MX0025

จงสร้างฟังก์ชั่นที่รับค่า string แล้วส่ง string ใหม่ออกมาที่เกิดจากการลบสระออกทั้งหมด (a,e,i,o,u)

Examples

removeVowels(” i have never seen a thin person drinking diet coke.”) ➞ “hv nvr sn thn prsn drnkng dt ck.”

removeVowels (“we’re gonna build wall!”) ➞ “w’r gnn bld wll!”

Leave a Reply