title: DataTables column().search() - Search by beginning letters in string
body: <p>I have a column search for Surnames.</p>
  
  <p>In the 'Search Surname' textbox in the table footer, I want to be able to search so as I type "S"..."i"..."m".."p" the results still appear for "Simpson", but not if I type "son", for example.</p>
  
  <p>At the moment if I type "son", the "Simpson" results still appear as the text is contained in the string.</p>
  
  <p>How do I configure it to search the beginning of the string as I type?</p>
  
  <p>Here is my code so far:</p>
  
  <pre><code>    $(document).ready(function () {
  
      $('.thSurname').each(function () {
          $(this).html('&lt;input type="text" placeholder="Search Surname" /&gt;');
      });
  
      var table = $('#ContactTable').DataTable({
          "aoColumns": [
              { "bVisible": false },
              { "sClass": "center" },
              { "sClass": "center" },
              { "sClass": "center" },
              { "sClass": "center" }
          ]
      });
  
      table.columns().eq(0).each(function (colIdx) {
          $('input', table.column(colIdx).footer()).on('keyup change', function () {
              table
                  .column(colIdx)
                  .search(this.value)
                  .draw();
          });
      });
      });
  </code></pre>