public static String insertContent(String original,int position,String content){
  return original.substring(0,position) + content + original.substring(position);
}

public static String insertContent ( String original , int position , String content ) { return original . substring ( 0 , position ) + content + original . substring ( position ) ; }
inserted content into a string .
