Restricting characters in a dynamic textfield

I need to say this, if possible :stuck_out_tongue:

If number of characters in dynamic textfield exceeds 92, find the last word before that limit and put three dots(…) at the end

so, lets say this is the text, and there are 96 characters (I havent been counting but lets imagine it)

IN URNA IPSUM, TINCIDUNT ID, IACULIS QUIS, BIBENDUM PRETIUM, AUGUE. ALIQUAM TEMPOR ALIQUET LOREM. MORBI IN PEDE. ETIAM NEC VELIT. ETIAM EU MI. NAM LIBERO MAURIS, ACCUMSAN ET, DAPIBUS QUIS, CONGUE NON FELIS.

it needs to look like this:

IN URNA IPSUM, TINCIDUNT ID, IACULIS QUIS, BIBENDUM PRETIUM, AUGUE. ALIQUAM TEMPOR ALIQUET LOREM. MORBI IN PEDE. ETIAM NEC VELIT. ETIAM EU MI. NAM LIBERO MAURIS, ACCUMSAN ET, DAPIBUS QUIS, CONGUE NON…

possible?