Add some string operations, refactor runtime. (#249)

This commit is contained in:
Nikolay Igotti
2017-02-17 14:31:28 +03:00
committed by GitHub
parent 316ed73bd5
commit 45bb2fdb8b
19 changed files with 2644 additions and 113 deletions
@@ -0,0 +1,9 @@
fun main(args: Array<String>) {
val str = "hello"
println(str.equals("HElLo", true))
val strI18n = "Привет"
println(strI18n.equals("прИВет", true))
println(strI18n.toUpperCase())
println(strI18n.toLowerCase())
println("пока".capitalize())
}