https://tutorial.eyehunts.com/js/javascript-compare-two-strings-example-code/
JavaScript compare two strings | Example code