title: Count number of spaces ' ' in N pixels
body: <p>Is there a way how to count number of spaces ' ' (some UIFont) in N pixels? </p>
  
  <p>For example:</p>
  
  <pre><code>input: length = 100 pixels, font =  &lt;fontName&gt;
  
  output: 14 spaces with current font
  </code></pre>