Removes double+ spaces and trims white space from string ends.

chr_remove_ws(x)

Arguments

x

Character vector.

Value

Vector without extra spaces.