how can i check with input if single string is the same as full string?

well

goal: goal of this is to have interact with the computers in order to open a door, this is more for the visual.

  • when player is interacting with one of the computers

    • if its the right computer order, then it should show green screen
    • and if it gets the whole order right, then those who are right computer should light green
  • when player is interacting with one of the computers and it goes wrong

    • all the computers should show red screens then show black screen
  • if player is half way through the order correct and then interacts with the wrong computer, all computer should show red and then show black screen

i hope i havent forgot anything