@krankin
Just like @Claje , I tried this and it worked for me. A few suggestions. First, make sure your text field is long enough to accommodate the spaces. A Select tool before the Formula tool can help with that.
The next suggestion is to add a browse tool, run the workflow, and check the results in a new window. Sometimes it's easier to see that way.
Let me know if that helps.
Cheers!
Esther