我有一个java字符串," "来自程序使用Buffered Reader对象访问的文本文件.我试过了string.replaceAll(" ",""),似乎没有用.
" "
string.replaceAll(" ","")
有任何想法吗?
cleaned = cleaned.replace(" "," ");
java string html-entities
html-entities ×1
java ×1
string ×1