But how would I get it to ignore everything up until (not including) the 7 in line 4? I've tried a lot of different things but I guess I'm not too familiar with how "ignore" works. I thought you did In.ignore("number of characters", "a certain character"). Thanks for the help.