title: Getting the closest string match
body: <p>I need a way to compare multiple strings to a test string and return the string that closely resembles it:</p>
  
  <pre><code>TEST STRING: THE BROWN FOX JUMPED OVER THE RED COW
  
  CHOICE A   : THE RED COW JUMPED OVER THE GREEN CHICKEN
  CHOICE B   : THE RED COW JUMPED OVER THE RED COW
  CHOICE C   : THE RED FOX JUMPED OVER THE BROWN COW
  </code></pre>
  
  <p>(If I did this correctly) The closest string to the "TEST STRING" should be "CHOICE C".  What is the easiest way to do this?</p>
  
  <p>I plan on implementing this into multiple languages including VB.net, Lua, and JavaScript.  At this point, pseudo code is acceptable.  If you can provide an example for a specific language, this is appreciated too!</p>