How to convert string into integer in Kotlin? All Questions › Category: Kotlin › How to convert string into integer in Kotlin? 0 Vote Up Vote Down chetan shidling asked 4 years ago I need short information. 1 Answers 0 Vote Up Vote Down chetan shidling answered 4 years ago Here is the code to convert string into Integer in Kotlin. fun main(args : Array<String>){var str : String = “4”var num1 : Int = str.toInt()num1++println(“The Integer after increment is $num1”)} Output: The Integer after increment is 5