Remover caracteres de uma frase
Crie uma função que receba uma frase sentence e uma string de caracteres characters, e retorne a frase com todos os caracteres indicados em characters removidos.
Exemplos
Program.StripSentence("the quick brown fox jumps over the lazy dog", "aeiou"); // "th qck brwn fx jmps vr th lzy dg"
Program.StripSentence("the hissing snakes sinisterly slither across the rustling leaves", "s"); // "the hiing nake initerly lither acro the rutling leave"
Program.StripSentence("gone, reduced to atoms", "go, muscat nerd"); // ""Notas
- Talvez seja necessário remover sinais de pontuação e espaços.
- Retorne uma string vazia se todos os caracteres da frase forem indicados (veja o exemplo nº 3).
- Todos os testes usarão letras minúsculas.