char array value not being changed to upper case
<p>I am writing a program that recieves a String as input and changes the format of the lettering if it contains an underscore. For example, if I receive the String "here_wego", it should return "hereWego", but instead of that I just get "herewego". What I have tried to do here is converting the incoming string to a character array and then check each character to check if it's an underscore. If it <em>isn't</em> an underscore, then the character gets added to the output string. If it <em>is</em> an underscore, the character is not added and instead c[i+1] should be changed to uppercase so it can be added in the next iterator.</p>

<pre><code>public static String zebulansNightmare(final String functionName) {

    String manip = "";
    char[] c = functionName.toCharArray();

    for(int i = 0; i &lt; c.length; i++){
        if(c[i]!='_'){
            manip += c[i];
        } else {
            Character.toUpperCase(c[i+1]);
        }
    }

    return manip;
}
</code></pre>

<p>I've included a link to a picture of the debugging process.</p>

<p><a href="http://i.stack.imgur.com/6NCfz.png" rel="nofollow">Going through the program debugging</a></p>