title: Remove characters from a cell array of strings (Matlab)
body: <p>I have a cell array of strings.  I need to extract say 1-to-n characters for each item.  Strings are always longer than n characters.  Please see:</p>
  
  <pre><code>data = { 'msft05/01/2010' ;
           'ap01/01/2013' }
  
  % For each string, last 10 characters are removed and put it in the next column
  
  answer = { 'msft' '05/01/2010' ;
             'ap'   '01/01/2013' }
  </code></pre>
  
  <p>Is there a vectorized solution possible?  I have tried using cellfun but wasn't successful.  Thanks.</p>