Android Open Source - Joetz-Android-V2 String Utils

From Project

Back to project page Joetz-Android-V2.


The source code is released under:

GNU General Public License

If you think the Android project Joetz-Android-V2 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.jens.myapplication.util;
//  w  w  w.j  a v  a2s .com
 * Created by Sam on 8/12/2014.
public class StringUtils {

     * Sets the first letter of this string to uppercase
     * @param text text to be modified
     * @return The same String with an uppercase first letter
    public static String firstUpper(String text){
        return Character.toUpperCase(text.charAt(0)) + text.substring(1);

Java Source Code List