string package:megaparsec

A synonym for chunk.
The same as string, but case-insensitive. On success returns string cased as the parsed input.
>>> parseTest (string' "foobar") "foObAr"
"foObAr"
Calculate length of a string taking into account the fact that certain Chars may span more than 1 column.