The “equivalent wrong” Kotlin I wrote is: ``` for ...
# getting-started
g
The “equivalent wrong” Kotlin I wrote is:
Copy code
for (i in 1..Math.max(query.length, maxDateStringLength)) {
    query = query.substring(1, i)
}