Split String every n Characters
It was asked on the forum: "I want to split text after every 7 characters. Like if there is a sentence : a quick brown fox jumps over the lazy dog then the list will be after split (a quick, brown ,fox jum,ps over, the la,zy dog)"
This puts the segment text block to the test:
The output is a list, in this instance, split every 7 characters, and copes with the last element not being 7 characters, and also handles the spaces between words