insert

fun insert(index: Int, str: String): StringBuffer

Inserts the string str at the specified index.