I am trying to do some text manipulation in _Mathematica_. After importing a text file (`in.txt`) as a string, how would you then output every other line? In the command line using `awk` for instance one would do awk 'NR % 9 != 8' in.txt However, after looking through the documentation _Mathematica_ doesn't seem to have any current line number querying mechanism. Do you need to split the input string on every new line and then work with the list of strings? Or is _Mathematica_ not the best choice for manipulating text?