如何删除“”之间的空格? 我有超过100行富文本框,我的句子如下所示,“”之间有空格。字符串修剪删除空间?
我一句
remove only " railing" spaces of a string in Java
remove only " trailing" spaces of a string in Java
remove only " ling" spaces of a string in Java
remove only " ing" spaces of a string in Java
.
.
.
应该是:
remove only "railing" spaces of a string in Java
remove only "trailing" spaces of a string in Java
remove only "ling" spaces of a string in Java
remove only "ing" spaces of a string in Java
.
.
.
我的代码
richTextBox1.lines.Trim().Replace("\" \" ", " ");
你应该给它分配回像'richTextBox1 = richTextBox1.lines.Trim()的richTextBox1' – V4Vendetta