Penthus
✅ Splitting string into chunks with delimiter
I am trying to split a string to fit within a character limit for my message. This works but cuts words, I was wondering if there is a way to have the chunk split in a way splits the chunk before a word on the new line.
Example data is
Current result
Desired Result
Current Code
10 replies