JT,

You're right, the first expression should work, it even evaluates it properly, but when you print or preview, it doesn't work.

I'll report it to the developpers.

Regards,
Rapha