0
我只需要在字符串中只保留一個空白字符。下面顯示了示例。刪除字符串中多餘的空白字符
"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"
非常感謝您的幫助。
這工作對我來說