I'm reading a text file that contains a line, e.g. "20 name "Andrew"" and trying to check if the line contains quotation marks after "name" but it returns false when using line.contains("\""). How would I check if the line contains quotation marks with a string between them?
P:S Whenever I print the line out to the console I get: 20 name “Andrew“ but when I check if the line contains "“", it returns false, why is this?