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