hello ,
i want to remove spaces between 2 strings .
the trim function in
string will remove only leading and trailing whitespaces.
but is there any string function in
java such that the for example
str=" javahorn forum"
i want to remove the whitespace between javahorn and forum such that it displays as
str=" javahornforum"