Java tutorial
public class Main { public static void main(String[] arg) { StringBuffer buf = new StringBuffer("1234567890"); String aString = "abcdefghijk"; buf.append(aString, 3, 4); System.out.println(buf); } }