Having Error with Mismatched words

Hi Does anyone knows how to solve this error, where by I am supposed to compare with a website and an Excel sheet that a certain word must be the same before the execution of an action.
However when reviewed through a message box, the both words appear to be the same and the output of the words being the same is false.
*Had already tried trimming the word from the website…
Thanks for help!

Good morning Bala,

Are you able to copy and paste the values from both the website and Excel workbook into a post here?

I ran into a very similar issue before where one string contained a regular space character that was not equal to the non-breaking space character in the other string (even though they look identical).