Learn R Programming

LOLA (version 1.2.2)

cleanws: cleanws takes multi-line, code formatted strings and just formats them as simple strings

Description

cleanws takes multi-line, code formatted strings and just formats them as simple strings

Usage

cleanws(string)

Arguments

string
string to clean

Value

A string with all consecutive whitespace characters, including tabs and newlines, merged into a single space.