Download

TruncateText

It would be nice if the engine had a built-in function for truncating text. Like so:

&stc=1

Possibly allowing an input for the end of the truncation (…), and respecting deeper localization stuff that I’m probably missing in this function.

Possibly an easy community pull request for someone if they can be bothered to do it.

I was literally just looking for something like this. I am trying to integrate it into my text component in BP. I have it set up to scale my text but there are cases where it scales the text too small. I want to set a minimum scale size and if it is hit, truncate instead. This would be a very welcome addition for me.