* Capitalize the first letter but leave the rest as they are. *
* * @param data capitalize this * @return String */ static public String capitalizeFirstLetter ( String data ) { String firstLetter = data.substring(0,1).toUpperCase(); String restLetters = data.substring(1); return firstLetter + restLetters; } }