Logo

Programming-Idioms

History of Idiom 48 > diff from v70 to v71

Edit summary for version 71 by programming-idioms.org:
Restored version 69

Version 70

2020-06-02, 01:42:14

Version 71

2020-06-08, 21:43:55

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

Variables
s
Variables
s
Extra Keywords
multiline raw
Extra Keywords
multiline raw
Code
hello world
Code
var s = '''A
multi-line
string''';
Demo URL
https://dartpad.dartlang.org/bda0ae2261fb6edd937c
Demo URL
https://dartpad.dartlang.org/bda0ae2261fb6edd937c