title: Checking if one string is similar to another
body: <p>I've did some research, and I've found topics going off checking if a string is a substring in a string, and choosing the closest string to the specified string, but how would I check if one string is similar to another and provide a true/false response? ie:</p>
  
  <pre><code>String 1: JAVA IS A PROGRAMMING LANGUAGE
  String 2: JAVA IS A PROGRAMMING LANGUAG X
  </code></pre>
  
  <p>This would return a "true"</p>
  
  <pre><code>String 1: JAVA IS A PROGRAMMING LANGUAGE
  String 2: I ATE THE CAKE
  </code></pre>
  
  <p>This would return "false"</p>
  
  <p>Thanks.</p>