Android examples for java.lang:String Case
Convert first Char To Lower Case
import android.graphics.Paint; import android.text.TextUtils; import android.widget.TextView; import java.util.UUID; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main{ public static String firstCharToLowerCase(String str) { Character firstChar = str.charAt(0); String tail = str.substring(1); str = Character.toLowerCase(firstChar) + tail; return str; }//w ww . ja v a 2 s . co m }