How to call function inside string

What are you trying to do exactly? Why do you want a function to be a string?