val str = "level"for (c in str) { println(c)}//Iterating with indexfor ((i, c) in str.withIndex()) { println("str[$i] = $c")}