Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
How to Remove vowels from a word in java
2 Réponses
+ 9
str = str.toLowerCase().replaceAll("[aeiou]", "");
+ 3
if you want to keep the original string:
str = str.replaceAll("[aeiouAEIOU]", "");