Java tutorial
//package com.java2s; public class Main { public static String initStr(String old) { String str = old.substring(0, 1).toUpperCase() + old.substring(1); return str; } }