String ToolsNew
Remove Extra Spaces
String ToolsNew
Collapse runs of spaces and tabs into single spaces and trim each line.
Collapse runs of spaces and tabs into a single space and trim leading and trailing whitespace from every line. The result is tidier text for publishing, copy-edit reviews, or import into a spreadsheet.
Does this affect newlines?
No — line breaks are preserved. Use Remove Line Breaks if you want a single line of text.