If you want to display multiple lines, you can use triple quotes(""") and trimMargin(). println("""Example of Jinhan : It is about String |First line |Second line |Third line |Fourth line """.trimMargin())