In reply to rgarcia07:
Hi,
thank you very much for your answer. I also ended up using the $sformatf function, but I would have expected the static cast to work, too. It seems that in your case, it is also a blank (STR). $sformatf seems to be returning the desired output.
Thank you.