Logo

Programming-Idioms

History of Idiom 48 > diff from v44 to v45

Edit summary for version 45 by Debaran:
New Scala implementation by user [Debaran]

Version 44

2019-01-25, 11:45:02

Version 45

2019-02-01, 06:25:16

Idiom #48 Multi-line string literal

Assign to variable s a string literal consisting in several lines of text

Idiom #48 Multi-line string literal

Assign to variable s a string literal consisting in several lines of text

Extra Keywords
multiline raw
Extra Keywords
multiline raw
Code
val s = """line 1
line 2
line 3"""