protected String toUpperCase(String str,int charIndex){
  char[] name=str.toCharArray();
  name[0]=Character.toUpperCase(name[charIndex]);
  return new String(name);
}

protected String toUpperCase ( String str , int charIndex ) { char [ ] name = str . toCharArray ( ) ; name [ 0 ] = Character . toUpperCase ( name [ charIndex ] ) ; return new String ( name ) ; }
convert a specified character of string in upper case .
