filter_string()

public function filter_string(array $data): string

The filter_string() method is supported by a dedicated helper function. For guidance on how to use it, click here.