Fill text in a box with automatic line break

Is it possible to automatically insert a (longer) string in a defined box and automatically break the lines? (I need this for data fields on Edge devices)
I imagine I've seen this here before - but I can't find anything about it.
Thank you