Convert sentence to variable name syntax
<p>How would I convert a String from something like "Bobs big barbeque" to bobsBigBarbeque?</p>

<pre><code>String variableName = result;
for ( int i = 0; i &lt; result.length( ); i++ ) {
    char c = result.charAt( i );
    if ( c == ' ' ) {
       Character.toUpperCase( variableName.charAt( result.indexOf( c )+1 ) );
    }
    variableName = variableName.replace( " ", "" );
    Character.toLowerCase( variableName.charAt( 0 ) );
    System.out.println( variableName );
}
</code></pre>

<p>I almost have it working. My only problem now is with the line....</p>

<pre><code>Character.toLowerCase( variableName.charAt( 0 ) );
</code></pre>

<p>I have to just convert the first character to lowercase</p>
