Inserts a String to a StringBuffer at the specified position
public class StringBufferExample {
public static void main(String[] args) {
StringBuffer buff = new StringBuffer("Hello World");
buff.insert(6, "Hey");
System.out.println(buff);
}
}




















