package test.chapter6.lastIndex_change

fun main(args: Array<String>) {
    val str = "ASDFG"
    val A = str.lastIndex
    val B = str.lastIndex
    val C = str.lastIndex
    val D = str.lastIndex
    val F = str.lastIndex
    val E = str[str.lastIndex]
    val G = str[str.lastIndex ]
}