1 Answers
The types of string available in Kotlin are:
- Raw string
- Escaped string
Example:
fun main(args: Array<String>) { var rawString :String = "I am Raw String Chetan Shidling" val escapedString : String = "I am escaped String Chetan Shidling!\n" println("Hello!"+escapedString) println("Hey!!"+rawString) }