Java String Upper Case toUpperCaseFirstCharacter(String str)

Here you can find the source of toUpperCaseFirstCharacter(String str)

Description

to Upper Case First Character

License

Apache License

Declaration

private static String toUpperCaseFirstCharacter(String str) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    private static String toUpperCaseFirstCharacter(String str) {
        return str.substring(0, 1).toUpperCase() + str.substring(1);
    }//from   w  w  w  .j  a v a 2  s  . co  m
}

Related

  1. toUpperCaseFirstChar(String str)
  2. toUpperCaseFirstChar(String string)
  3. toUpperCaseFirstChar(String string)
  4. toUpperCaseFirstChar(String text)
  5. toUppercaseFirstCharacter(String s)
  6. toUpperCaseFirstCharForWord(String string)
  7. toUpperCaseFirstLetter(String str)
  8. toUppercaseFirstLetter(String str)
  9. toUpperCaseFirstLetter(StringBuilder sb)