text

The package 'text' allows to get detailed information about the text such as the number of lines, lines at positions, characters at locations, locations at positions, positions at locations, and vice versa.

It is much faster than you could possibly imagine, thanks to the sparse lists.

Libraries

text