Java String Uncapitalize uncapitalize(String input)

Here you can find the source of uncapitalize(String input)

Description

lower cases the first letter

License

Open Source License

Parameter

Parameter Description
input a parameter

Declaration

public static String uncapitalize(String input) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**/*  w w  w.j  a  v a2 s  .co m*/
     * lower cases the first letter
     * @param input
     * @return
     */
    public static String uncapitalize(String input) {
        if (input == null || input.isEmpty())
            return input;
        return input.substring(0, 1).toLowerCase() + input.substring(1);
    }
}

Related

  1. uncapitalize(final String s)
  2. uncapitalize(final String str)
  3. uncapitalize(final String str)
  4. uncapitalize(final String str)
  5. unCapitalize(String data, int pos)
  6. uncapitalize(String name)
  7. uncapitalize(String name)
  8. uncapitalize(String s)
  9. uncapitalize(String s)