Question: Which command will extract the domain suffix ("com") from the string `$string = "https://cat-bounce.com";`?

  1. `sub($string, -3)`
  2. `substr($string, -3)`
  3. `substr($string, 3)`
  4. `$string.substr(-3)`

Answer: The correct answer of the above question is Option B:`substr($string, -3)`