Here you can find the source of toLowerCaseFirstOne(String s)
public static String toLowerCaseFirstOne(String s)
//package com.java2s; //License from project: Apache License public class Main { public static String toLowerCaseFirstOne(String s) { if (Character.isLowerCase(s.charAt(0))) return s; else/* w w w .ja v a 2s . c o m*/ return (new StringBuilder()).append(Character.toLowerCase(s.charAt(0))).append(s.substring(1)) .toString(); } }