Returns a function that combines a list of text into a single text using the specified positions and lengths.