replaceItem

fun replaceItem(newItem: String, index: Int): String(source)

Since Kotlin

1.1