== does not work with string

Hi all,
someone can tell me why these string are not equal?

Try removing + '\n'

PS, in future, please post code as text as it is harder to work with code in an image.

Doesn't works

it worked with this

        DownloadedFirstRow = DownloadedFirstRow.slice(0,-1);

To work so I also removed "+ '\n' "

PS, in the next post i will post also the text sorry