Julia Programming Language
How to enter \n with backtick syntax?
New to Julia
stevengj
September 29, 2020, 7:18pm
3
`echo $"hello\nworld"`
— using
$
lets you interpolate Julia string syntax.
6 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Escaping newlines in multi-line string macros?
General Usage
macros
,
strings
3
92
May 23, 2025
Interpolation issues in a backticks expression
General Usage
4
1239
March 10, 2018
Single string on multiple lines without `\n`
General Usage
strings
6
6633
October 14, 2022
'\n' is not working in `print` for customized string literals
General Usage
question
3
418
March 9, 2022
How to do escape_string
New to Julia
strings
15
3465
December 26, 2020