.... .... ## instead of print_1($text); ## I want to somehow $string .= ## results of print_1($text) ....