Updated text splitting function, char limit seems to be 99 for some languages.