Remove repeating whitespace characters (spaces, tabs, line breaks) from s and turns tabs & line breaks into spaces.

strip_multiple_spaces(s, ...)

# S3 method for character
strip_multiple_spaces(s, ...)

# S3 method for list
strip_multiple_spaces(s, ...)

# S3 method for data.frame
strip_multiple_spaces(s, text, ...)

Arguments

s

A Character string or data.frame.

...

Any other options.

text

bare name of text column.