What i want to do is to replace multiple space to single space in a string.
I have string variable
String text = "i want to replace multiple space";
and i want it change into
String text = "i want to replace multiple space";
how can i do it?, help me please, thanks before.