Cadena Java Eliminar más de un espacio
String after = before.trim().replaceAll(" +", " ");
yuan Tao
String after = before.trim().replaceAll(" +", " ");
String after = before.trim().replaceAll(" +", " ");
String after = before.trim().replaceAll(" +", " ");
String after = before.trim().replaceAll(" +", " ");
String after = before.trim().replaceAll(" +", " ");
String after = before.trim().replaceAll(" +", " ");
String after = before.trim().replaceAll(" +", " ");
String after = before.trim().replaceAll(" +", " ");
String after = before.trim().replaceAll(" +", " ");