← Infosys questions

Remove vowels from string

Filed under Infosys · Also reported at GE Digital, ION, REI Systems

Given a string, write a function to remove all the vowels (both lowercase and uppercase 'a', 'e', 'i', 'o', 'u') from it and return the resulting string.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Infosys questions

Collected from public candidate posts and coding forums. Updated Nov 2026.