I have two text files and want to check if they have the same words and punctuation. However, one file contains a lot of line breaks and the other doesn't.
Is there a way to compare the text in these files and ignore the line breaks?
Can you please add a printIn on both lines. Just to make sure that they are actually the same. And add basics and else statements to display something like "no match found".