package test.chapter6.lastIndex_change

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