Problem with splitting PDF text

Hello everyone. I have a problem with splitting text into a specific number of characters (100). The situation is that I want to put the content from PDF into Notion, so my script (shortening it) looks like this PDF.co Convert PDF into Text - HTTP Get a file - Notion. Notion rejects text above 100 characters, so I wanted to cut it off somehow, I tried Text Parser, Set Variable, and also searching the forum to solve this problem I came across tools from @samliew (which by the way are very useful and I will definitely use them in other scenarios), and these tools worked not as I needed them, because when I tried to separate 100 characters, it either marked only the first sentence, or broke the whole text into 200-300 bundles. I have no idea how to solve this. Thank you in advance for your help

Hey Nicolas,

what is the expectation here? If the text is long and you want to break it in chunks of no more than 100 chars each, then yeah, it will be 200-300 bundles.

Sorry, maybe I didn’t write it precisely, the text is of different lengths from 40 to about 500 characters. I want to be able to efficiently insert this text into the notion. @Stoyan_Vatov