Skip to contents

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

Usage

clean_string(str)

Arguments

str

The string to clean

Value

A cleaned string with only alphanumeric characters and spaces