clean_str: Clean leading and trailing whitespaces from a given string. Additionally,
all occurrences of multiple whitespaces are replaced with a single
whitespace.
Description
Clean leading and trailing whitespaces from a given string. Additionally,
all occurrences of multiple whitespaces are replaced with a single
whitespace.
Usage
clean_str(x)
Arguments
x
Character string.
Value
An absolute path to a file of NULL if the path does not exist.