title: Splitting Line at Whitespace in Older Octave Versions
body: <p>I'm parsing an ASCII text file using line-oriented input with:</p>
  
  <pre><code>    fid = fopen("myFileName", "r");    % open data file
      fgetl(fid);                        % get header variables
  </code></pre>
  
  <p>For the next line of the file I want to parse it and split the line where there is one or more whitespaces (i.e., '\s+').  Newer versions of Octave have a <code>'split'</code> option for the <code>regexp</code> built-in command.  However, the version of Octave that I'm using is 3.4.3, and I don't have the ability to upgrade to anything newer at the moment.  The <code>'split'</code> option is not recognized, so I'm looking for a workaround.  The <code>strsplit</code> command doesn't seem to allow using <code>fgetl(fid)</code> for the string argument as in:</p>
  
  <pre><code>    myVar = strsplit(fgetl(fid), "\s*", "delilmetertype", "regularexpression")
  </code></pre>
  
  <p>Is there something else that might work in this case?</p>