hasPrefix: instead of hasSuffix: in endOfLine
Merge pull request #1 from JoshTheGeek/patch-1

hasPrefix: instead of hasSuffix: in endOfLine