as_fun_string function

Convert function to single string