sanitize

Sanitizes a given string

pure nothrow @safe
string
sanitize
(
string str
,
string target
)

Parameters

str string

The string that should be sanitized

target string

The text that should be removed

Return Value

Type: string

The new, sanitized string

Meta