Java tutorial
public class Main { public static void main(String[] argv) { StringBuffer sb = new StringBuffer(); sb.append(true); sb.append("java2s.com"); sb.delete(1, 2); System.out.println(sb.toString()); } }