Java String Upper Case toUpperCaseFirstChar(String string)

Here you can find the source of toUpperCaseFirstChar(String string)

Description

to Upper Case First Char

License

Apache License

Declaration

public static String toUpperCaseFirstChar(String string) 

Method Source Code

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

public class Main {
    public static String toUpperCaseFirstChar(String string) {
        return string == null ? null : string.toUpperCase().charAt(0) + string.substring(1);
    }/*from  ww w.j a va2  s  .  c  o  m*/
}

Related

  1. toUpperCaseFirstChar(final String str)
  2. toUpperCaseFirstChar(String s)
  3. toUpperCaseFirstChar(String str)
  4. toUpperCaseFirstChar(String str)
  5. toUpperCaseFirstChar(String string)
  6. toUpperCaseFirstChar(String text)
  7. toUppercaseFirstCharacter(String s)
  8. toUpperCaseFirstCharacter(String str)
  9. toUpperCaseFirstCharForWord(String string)