Function tryDecodeFunctionString