iter
Iterate over the text. When dir is -1, iteration happens from end to start. This will return lines and the breaks between them as separate strings.
Iterate over the text. When dir is -1, iteration happens from end to start. This will return lines and the breaks between them as separate strings.