I would like to split a string if it is over x characters long after x amount of characters, is this possible? for example;
string = "this is one long line of text"
string1 = "this is one long line"
string2 = "of text"
the split can not split in the middle of words.
string = "this is one long line of text"
string1 = "this is one long line"
string2 = "of text"
the split can not split in the middle of words.