Rev 798 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.client.util;
public class UtilString {
/**
* Mets la première lettre d'une chaine en majuscule
*
* @param chaineDeCaractere
* @result ChaineDeCaractere
*/
public static String ucFirst(String inputStr) {
return inputStr.substring(0,1).toUpperCase() + inputStr.substring(1, inputStr.length());
}
}