我正在尝试弄清楚如何合并单词之间的间距。我该怎么做?
我举个例子:
"January of 2002 while
working as a clerk in
the mailroom.
Apparently, she was
carrying some trays
weighing approximately 17 pounds. Apparently,
she had sustained injuries to her back. She got reinjured on 1/25/02 while picking a mail meter."
我需要它看起来像这样:
"January of 2002 while working as a clerk in the mailroom. Apparently, she was carrying some trays weighing approximately 17 pounds. Apparently, she had sustained injuries to her back. She got reinjured on 1/25/02 while picking a mail meter."
答案1
下载记事本++。
用它打开你的文本文件并转到编辑-->空操作-->删除不必要的空白和 EOL。您的文本中多余的换行符将被删除。
现在您的文本将只包含多余的空白,您可以通过在 Notepad++ 中执行以下操作轻松删除它们:搜索-->代替。 在里面找什么框中输入两个空格,如“ ”(不带引号)。在用。。。来代替框中使用单个空白“ ”(不带引号)。按全部替换。
重复步骤 3 几次,您的文本将不再有多余的空白。