Java String Decapitalize decapitalize(final String s)

Here you can find the source of decapitalize(final String s)

Description

decapitalize

License

BSD License

Declaration

public static String decapitalize(final String s) 

Method Source Code

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

public class Main {
    public static String decapitalize(final String s) {
        if (s == null)
            return "";
        return s.substring(0, 1).toLowerCase() + s.substring(1);
    }/*from  w w w.  ja v a 2 s. com*/
}

Related

  1. decapitalize(final String string)
  2. decapitalize(final String value)
  3. decapitalize(String name)
  4. decapitalize(String name)