add toStringExcludingLines, like grep -v