title: Uppercase or Lowercase a specific character in a word "Java"
body: <p>I have look into most of questions but I couldn't find how to uppercase or lowercase specific character inside a word.</p>
  
  <p>Example: </p>
  
  <pre><code>String name = "Robert"
  </code></pre>
  
  <p>What if I would like to make "b" Uppercase and rest lowercase also how to make first letter Uppercase and rest lowercase? </p>
  
  <p>Like "john" >> Output >> "John"...</p>
  
  <p>I have <code>toUppercase()</code> and <code>toLowercase()</code>. They convert the whole text.</p>
  
  <p>Also I tried to include <code>charAt</code> but never worked with me. </p>