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 s; }//from w w w . j av a 2 s . c o m int size = s.length(); if (size == 0) { return s; } StringBuilder builder = new StringBuilder(size); builder.append(Character.toLowerCase(s.charAt(0))); return builder.append(s.substring(1)).toString(); } }