regex
(^(?:\S+\s+\n?){1,{-Variable.numercharacters}})
Should be from 1 to 5000. There is no option to preserver sentence. You should make some regex to cut text and make it end on last sentence.Should it be 5000 to 1? If I want to select the 1st to 5000 characters?
How to preserve a whole sentence?
Example: if a sentence is crossing the 5000th character limit, don't break that sentence but take from the previous full stop?