Top 1,000 Features Creators Resources Extensions Blog Explorer CSV Download
GitHub icon

Multiline Strings

< >
Example from 1 languages: JavaScript
const lines = `one two`
Example from 1 languages: Python
template = """This is the first line. This is the second line. This is the third line."""
Example from 1 languages: PHP
$xml = <<<XML l vv XML;
Example from 1 languages: Elixir
template = """ This is the first line. This is the second line. This is the third line. """
Example from 1 languages: C3
String s = `this string is multiline`;
Example from 1 languages: Scroll
plainText This is a multiline string
Example from 1 languages: Jule
`Multiline strings is available in Jule with raw strings`
Example from 1 languages: Speedie
"hello you beauty"
Example from 1 languages: Boron
{{ Line 1 Line 2 }}
Example from 1 languages: Ion
( '''hello ''' // Sexp with one element '''world!''' ) ("hello world!") // The exact same sexp value // This Ion value is a string containing three newlines. The serialized // form's first newline is escaped into nothingness. '''\ The first line of the string. This is the second line of the string, and this is the third line. '''
*

Languages with Multiline Strings include JavaScript, Python, Ruby, PHP, Elixir, C3, progsbase, Scroll, Jule, Speedie, Aardvark, Boron, Ion

*

Languages without Multiline Strings include JSON

*

View all concepts with or missing a hasMultilineStrings measurement

View source

- Build the next great programming language About Acknowledgements Part of the World Wide Scroll