len(x) - return length of the string x
As Gumball said - make a variable to store the current state of the text box, only if the length of text is equal or greater than what it was previously.
System Compare Two Values - len(TextBox) < len(TextVariable) - Set TextBox to TextVariable
Else - Set TextVariable to TextBox