I asked about a similar Truncate function few days ago, and it seems there was none yet built-in
We are currently working on a major overhaul of the app builder. After that is done we can start implementing these kinds of things. I've added this to our timeline. Thanks guys!