public function formatString($input)
    {
        if (is_array($input)) {
            $input = join(', ', $input);
        }