Olá,
tenho uma string contendo % e queria tirar essa % ???
Como poderia fazer ??? de outra forma mais simples …
String palavra= "gerem%ias%"
if (palavra.contains("%")){
for (int i = 0; i < numeroContaDestino.length(); i++) {
if (!numeroContaDestino.substring(i, i+1).equals("%") ){
novapalavra :=numeroContaDestino.substring(i, i+1);
}
}
}