Java String Upper Case toUpperCaseFirstLetter(String str)

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

Description

to Upper Case First Letter

License

Open Source License

Declaration

public static String toUpperCaseFirstLetter(String str) 

Method Source Code

//package com.java2s;

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

Related

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