Hi Steven,
Good finding, toString is definitely a function that should be supported in nanoflows. You can upvote an existing idea or create your own.
For the time being, you can use as a work-around this solution:
A subset of the microflow expressions can be used in nanoflows right now, see also: https://forum.mendix.com/link/ideas/656