Files
kotlin-fork/kotlin-native/backend.native/tests/runtime/basic/tostring2.kt
T
2021-04-07 00:23:32 +03:00

19 lines
420 B
Kotlin

/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
package runtime.basic.tostring2
import kotlin.test.*
@Test fun runTest() {
val hello = "Hello"
val array = hello.toCharArray()
for (ch in array) {
print(ch)
print(" ")
}
println()
println(array.concatToString(0, array.size))
}