Comment tester le nombre d'un personnage dans un java à cordes
int count = string.length() - string.replaceAll("g","").length()
Obedient Ox
int count = string.length() - string.replaceAll("g","").length()