Limit text length in a database repeater not working with pagination

I have explored that article. that article is subtracting from the text, not setting a limit.

Thanks for trying to help though!