I have an Ionic slides with a text coming from an api and I want to split it in equal parts depending on the container (the slides) space on width and height, and the most important thing, I want to split the text (a looong string with words and sentences and Enters) in the way that the last sentence of the slide (a page) is not divided and it’s complete till the dot (.). I’m using Ionic 5 and Angular 11.
-Text: A text useful for everything. I know this is true.
A text use
I know this is tru
A text useful
I know this is true.