I want my labels to fit nicely within polygons.
Based on this answer I discovered the power of the
wordwrap function in QGIS to make labels. However, I'm confused as to how I could specify a minimum AND a maximum length for wrapping: I'd like no line to be longer than say 13 characters, but I also don't want any line to only have 3 characters. Merely nesting the functions didn't work out for me
wordwrap( wordwrap( title(SITE_NAME) , -3), 13)
And if I try to build an expression for wordwrap, e.g.
wordwrap( title("SITE_NAME") , -3), the "output preview" shows
But the result is still the first image above.