← SAP questions

Remove vowels and consonants from a string

Filed under SAP

Implement two separate functions for an input string: remove_vowels(s) which returns the string with all vowel characters removed, and remove_consonants(s) which returns the string with all consonant…

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 SAP questions

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