title: PHP replace first letter with new string - wordpress title
body: <p>What am I doing wrong?</p>
  
  <pre><code>$title = get_the_title();
  $firstLetter = $title[0];
  $title[0] = '&lt;span class = "wrapBlue"&gt;' . $firstLetter . '&lt;/span&gt;';     
  
  echo $title; // comes out with weird switched around string?
  </code></pre>
  
  <p><code>get_the_title()</code> is a wordpress function.</p>
  
  <p><code>var_dump on $title</code> gives a string of length 21.</p>
  
  <p><code>var_dump on $firstLetter</code> gives a string containing the correct character of length 1</p>