Hi all,
Here is the
string i typed into the text area
hai
all
how
are
i want to print this 4 line into one line .
so output like this "hai all how are" in one line
i.e i want to replace the newline character with space
i have done like this store this string into one string
then
str.replaceAll("\\n","");
but its not working
Regards
Ganesan