我需要在字符串中只保留一个空白字符。下面显示了样本。
"today is a nice day" == > "today is a nice day"
"today is a nice day" == > "today is a nice day"
"today is a nice day" == > "today is a nice day"
"today is a nice day " == > "today is a nice day"
提前感谢您的帮助。
答案 0 :(得分:2)
最适合我的方式是
右键点击字段 - >格式字段 - >段
将文本解释更改为HTML文本,然后单击“确定”。