Literals/String: Difference between revisions
Content deleted Content added
Added Kotlin |
|||
Line 998:
fun main(args: Array<String>) {
val cl
val esl = "abc\ndef"
val rsl = """
This is a raw string literal
Line 1,010:
tripled quotes.
"""
val msl
|Leading
|string literal by including
|a margin prefix ('|' is the default)
|in combination with the trimMargin function.
""".
println(cl)
println(esl)
|