title: Elixir upcase only first letter of a word
body: <p>I've got a string that I need to only upcase the first letter. I also need to preserve the case of any subsequent letters. At first I thought:</p>
  
  <pre><code>String.capitalize("hyperText") 
  </code></pre>
  
  <p>would do the trick. But in addition to fixing the first letter, it downcases the rest of the letters. What I need to end up with is "HyperText". My initial pass at this is:</p>
  
  <pre><code>&lt;&lt;letter :: utf8, rest :: binary&gt;&gt; = word
  upcased_first_letter = List.to_string([letter])
  |&gt; String.upcase()
  
  upcased_first_letter &lt;&gt; rest
  </code></pre>
  
  <p>This works perfectly but it really seems like a lot of verbosity and a lot of work as well. I keep feeling like there's a better way. I'm just not seeing it.</p>