public function replaceUnderscoreWithSpace($string) { $output = str_replace('_', ' ', $string); return $output; }