Java StringBuffer insert() Method

insert(int offset, String str) insert a specified string at the offset indicated position.   Syntax: public synchronized StringBuffer insert(int offset, String str)   Note: If the specified string is null then it inserts a “null” string at the offset indicated position. If the insert has an object, int, double, etc instead of a string then … Read more