I am reading different files from different operating systems. In file there are lots of lines. but i got info that after every line there may be use "\n" or "\r" or something like that. When i read file by following instructions from Best way to read a text file [closed]
then what should i add to print in console by if-else conditions which explain in Class Pattern. I need help please. I am trying by reading this. But still need experts help. Thanks.