Parameters of the function cannont be modofied...if you want to modify the parameters of a function....create a macro instead.... , in other words, you can't modify first parameter "data", try to exclude "data", and make a string that was created in the function and return that one instead