Split and compare

  • split by '*' into parts
  • compare each part from the left to the right