From: Erik V. <ev...@us...> - 2010-01-19 19:50:11
|
Update of /cvsroot/rails/18xx/rails/util In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20474/rails/util Modified Files: Util.java Log Message: Added lowerCaseFirst() Index: Util.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/util/Util.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Util.java 8 Jan 2010 21:26:14 -0000 1.18 --- Util.java 19 Jan 2010 19:50:03 -0000 1.19 *************** *** 144,146 **** --- 144,150 ---- } + + public static String lowerCaseFirst (String text) { + return text.substring(0, 1).toLowerCase() + text.substring(1); + } } |