title: Julia - Trim string whitespace and check length
body: <p>I'm new to Julia and I was wondering if there were any built in functions for trimming string whitespace? I also want to check the length of the string which I know I can do with <code>length(s) == 0</code>, but I wondered if there where other built in functions? Thanks! </p>
  
  <p>I'm basically trying to find the Julia equivalent to the following MATLAB code:</p>
  
  <pre><code>line = strtrim(line);        
  if isempty(line), continue; end % Skip empty lines 
  </code></pre>