This language bar is your friend. Select your favorite languages!

Idiom #48 Multi-line string literal

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

#Edit dateEdit SummaryEditor
👁 Δ 60 2019-09-29, 01:29 New VB implementation by user [EvilGenius] EvilGenius
👁 Δ 59 2019-09-28, 12:20 [Cobol] fix Roie8
👁 Δ 58 2019-09-28, 12:20 New Cobol implementation by user [Roie8] Roie8
👁 Δ 57 2019-09-28, 05:50 [Fortran] Missing ampersand pompito
👁 Δ 56 2019-09-28, 04:27 New Ada implementation by user [thethanlaw] thethanlaw
👁 Δ 55 2019-09-26, 19:12 New Fortran implementation by user [tkoenig] tkoenig
👁 Δ 54 2019-09-26, 18:08 New Kotlin implementation by user [fojji] fojji
👁 Δ 53 2019-09-26, 17:10 New JS implementation by user [nsaleem] nsaleem
👁 Δ 52 2019-09-26, 15:16 New Lisp implementation by user [foobar] foobar
👁 Δ 51 2019-09-08, 14:55 [Cpp] Spelling Jupiter programming-idioms.org
👁 Δ 50 2019-09-06, 11:11 New Cpp implementation by user [Dango] Dango
👁 Δ 49 2019-06-24, 21:25 New Lua implementation by user [name] name
👁 Δ 48 2019-03-26, 21:19 [Haskell] emphasize comments programming-idioms.org
👁 Δ 47 2019-02-16, 07:26 New Clojure implementation by user [Alexander] Alexander
👁 Δ 46 2019-02-12, 11:38 [Haskell] use `unlines`: cleaner, will be optimized away gesh
👁 Δ 45 2019-02-01, 06:25 New Scala implementation by user [Debaran] Debaran
👁 Δ 44 2019-01-25, 11:45 New Java implementation by user [1.7.4] 1.7.4
👁 Δ 43 2018-08-03, 21:30 [Rust] Variable s programming-idioms.org
👁 Δ 42 2018-07-02, 14:25 New Rust implementation by user [gilescope] gilescope
👁 Δ 41 2018-05-16, 09:50 New PHP implementation by user [vinceve] vinceve
👁 Δ 40 2018-04-29, 23:12 Restored version 38 programming-idioms.org
👁 Δ 39 2018-04-29, 16:47 [C] biggerstring game
👁 Δ 38 2018-03-10, 11:34 [Haskell] You can avoid appending strings freqlabs
👁 Δ 37 2017-10-27, 18:30 [Lua] g 3
👁 Δ 36 2017-10-27, 18:30 [Lua] d 3
👁 Δ 35 2017-10-01, 11:30 [JS] Several ways -> new impls 2129 and 2130 programming-idioms.org
👁 Δ 34 2017-10-01, 11:28 New JS implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 33 2017-10-01, 11:26 New JS implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 32 2017-09-30, 18:30 [JS] Didn't see the requirement for s to be the string glmdgrielson
👁 Δ 31 2017-09-30, 18:27 New JS implementation by user [glmdgrielson] glmdgrielson
👁 Δ 30 2017-05-27, 22:31 [C] Several lines of text programming-idioms.org
👁 Δ 29 2017-05-27, 19:35 New C implementation by user [Dodopod] Dodopod
👁 Δ 28 2017-02-07, 21:48 [Elixir] +DocURL programming-idioms.org
👁 Δ 27 2016-11-21, 23:17 [Elixir] 2 ways => 2 impls => new impl 1907 programming-idioms.org
👁 Δ 26 2016-11-21, 23:16 New Elixir implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 25 2016-10-21, 08:46 New Csharp implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 24 2016-10-04, 14:21 [Lua] +DocURL programming-idioms.org
👁 Δ 23 2016-08-13, 22:05 New D implementation by user [BBaz] BBaz
👁 Δ 22 2016-05-29, 01:22 Fixed typo litteral programming-idioms.org
👁 Δ 21 2016-05-28, 09:30 Fixed type litteral programming-idioms.org
👁 Δ 20 2016-04-22, 13:10 [Go] +Comment, +DocURL programming-idioms.org
👁 Δ 19 2016-04-22, 13:09 +2 keywords programming-idioms.org
👁 Δ 18 2016-04-08, 13:34 New Lua implementation by user [Nepta]
👁 Δ 17 2016-02-18, 16:57
👁 Δ 16 2015-11-30, 12:37
👁 Δ 15 2015-10-29, 14:05
👁 Δ 14 2015-10-22, 01:00
👁 Δ 13 2015-10-22, 01:00
👁 Δ 12 2015-09-04, 21:55
👁 Δ 11 2015-09-03, 21:14
👁 Δ 10 2015-09-03, 16:46
👁 Δ 9 2015-08-22, 21:33
👁 Δ 8 2015-08-21, 15:00
👁 Δ 7 2015-08-20, 14:59
👁 Δ 6 2015-08-20, 14:16
👁 Δ 5 2015-08-19, 15:35
👁 Δ 4 2015-08-19, 15:19
👁 Δ 3 2015-07-31, 20:15
👁 Δ 2 2015-07-31, 20:15
1 2015-05-06, 21:04