Files
kotlin-fork/idea/testData/intentions/replaceSubstringWithSubstringBefore/nonZeroFirstArgument.kt
T
2016-01-13 19:05:50 +03:00

6 lines
105 B
Kotlin
Vendored

// IS_APPLICABLE: false
// WITH_RUNTIME
fun foo(s: String) {
s.substring<caret>(1, s.indexOf('x'))
}