An easy option is to just use @code-queen tutorial for limiting characters in a repeater.
https://support.totallycodable.com/en/article/limit-characters-in-a-repeater-using-wix-code
Limit Characters using Wix Code in a Repeater | Load More Button - Youtube video of above tutorial