String is an array of characters. Kotlin Strings are more or less similar to the Java Strings, but with some new add-ons. Following is the syntax to define a string. var str: String = “Hello” //or var str = “Hello” var newString: String = ‘A’ //ERROR var newString: String = 2 //ERROR .