Java String Uncapitalize uncapitalize(String s)

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

Description

uncapitalize

License

Apache License

Declaration

public static String uncapitalize(String s) 

Method Source Code

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

public class Main {
    public static String uncapitalize(String s) {
        if (s == null || s.isEmpty())
            return s;
        char[] chars = s.toCharArray();
        chars[0] = Character.toLowerCase(chars[0]);
        return new String(chars);
    }//from   w  w w .j av a2s .c om
}

Related

  1. uncapitalize(String input)
  2. uncapitalize(String name)
  3. uncapitalize(String name)
  4. uncapitalize(String s)
  5. unCapitalize(String s)
  6. uncapitalize(String s)
  7. uncapitalize(String source)
  8. unCapitalize(String str)
  9. uncapitalize(String str)