Your example code will not work even if you correct the spelling error. It is certainly possible to return a string from a function though:
Print gettext$()
Function gettext$()
Return "this is returned text"
End Function
Print gettext$()
Function gettext$()
Return "this is returned text"
End Function