Possible to format other variables than date/time?

Hi there,

I noticed in the documentation that date/time variables can be formatted: Variables — Zammad Admin Documentation documentation

Is it possible to format variables that aren’t date/time in this way? For instance, if I wanted to use the #{user.lastname} and strip everything after the first letter, would something like that be possible?