Android String Capitalize capitalizeFirstLetter(String src)

Here you can find the source of capitalizeFirstLetter(String src)

Description

capitalize First Letter

License

Apache License

Declaration

public static final String capitalizeFirstLetter(String src) 

Method Source Code

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

public class Main {
    public static final String capitalizeFirstLetter(String src) {
        return src.substring(0, 1).toUpperCase() + src.substring(1);
    }/*from w ww  .  j av a 2  s .  co  m*/
}

Related

  1. capitalizeFirstLetter(String word)
  2. capitalize(String s)
  3. capitalize(String str)
  4. uncapitalize(String str)
  5. capitalize(String s)
  6. capitalize(String s)
  7. capitalize(String str)
  8. capitalizeFirst(String i, Locale l)
  9. capitalize(String str)