Here you can find the source of unCapitalize(String s)
public static String unCapitalize(String s)
//package com.java2s; //License from project: Open Source License public class Main { public static String unCapitalize(String s) { if (s == null) return null; if (s.isEmpty()) return s; if (s.length() == 1) return s.toLowerCase(); return s.substring(0, 1).toLowerCase() + s.substring(1); }/*from ww w. j av a 2 s . c o m*/ }