title: How to extract the first word of a vector of strings in Matlab?
body: <p>I have a dataset of companies name as below, I want to extract the first word(sometimes the second), how can I do this in Matlab. I think the idea might be telling Matlab to extract any non space letters till it encounters the first space, right? But how can I realise this idea? Thanks!</p>
  
  <pre><code>OLYMPUS CORPORATION
  QUALCOMM INCORPORATED
  CISCO TECHNOLOGY, INC.
  SAMSUNG ELECTRONICS CO., LTD
  INTERDIGITAL TECHNOLOGY CORPORATION
  SUN MICROSYSTEMS, INC.
  </code></pre>