📜  从句子中删除任何多余的空格 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:29.585000             🧑  作者: Mango

代码示例1
//to remove duplicate whitespaces of all kinds, icluding beginning and ending of string
s = " ".join(s.split())