Remove trailing spaces to the last nonspace character or to a single-space character for strings made up of only spaces.

  • 删除最后的非空格字符后面的尾随空格,而对于只由空格组成的字符串,一直删除到只留下一个空格。
目录 查词历史