Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
fun main() { var txt = "Please locate where 'locate' occurs!" println(txt.indexOf("locate")) }
fun
main
() {
var
txt
=
"Please locate where 'locate' occurs!"
println
(
txt
.
indexOf
(
"locate"
))
}
7