str_splitter function

split string every N characters