title: Capitalise every word in String with extension function
body: <p>I want to make a extension function in Kotlin, that converts the first letter of each word of the string to upper case</p>
  
  <pre><code>the quick brown fox
  </code></pre>
  
  <p>to</p>
  
  <pre><code>The Quick Brown Fox
  </code></pre>
  
  <p>I tried using the <code>capitalize()</code> method. That only though capitalised the first letter of the <code>String</code>. </p>