I would like to have your opinion on one point:
I have a long text to cut around the 500th character. To avoid cutting the paragraph in full sentence, if the 500th is not a point (.), I pass to the 501st, then 502nd until it is a point. If it’s a point, then I display the first part of the text in the first label, and the second part of the text in a second label.
This is what I did, no worries, it works well, but I would like to have your opinion if I can improve the code, make it simpler:
Thank you in advance for the time you will take to answer me.
Regards from France