Learn R Programming

eyeris (version 2.1.1)

clean_string: Clean string by removing non-alphanumeric characters

Description

Removes all non-alphanumeric and non-whitespace characters from a string.

Usage

clean_string(str)

Value

A cleaned string with only alphanumeric characters and spaces

Arguments

str

The string to clean