A JavaScript function that converts a string into a series of fixed-length string chunks divided by a given separator.