Skip to contents

Remove special characters from a string.

Usage

clean_string(s)

Arguments

s

The string to be cleaned.

Value

The string with parentheses/commas removed and all other non-alphanumeric characters replaced by underscores