OnNewText action?

I would like to know when a new text is set on a TextMeshPro component. Is there a builtin way?

I want this so that I can modify the text right before it’s displayed on a separate component.

There is an ON_TEXT_CHANGED which is called when the text object is changed. See example scene 23 - Animating Vertex Attributes and the VertexJitter.cs script. These are both included in the TMP Examples & Extras.

This callback occurs when the text has changed and been processed whereas I think you want a callback when the string has been changed perhaps?

At any rate see if that callback works for your needs.