March 2019
Intermediate to advanced
242 pages
6h 21m
English
Are you excited to see raw strings in action? I am. Let's look at a quick example, before diving into the problems that led to the introduction of raw strings.
The following code shows how you can write a multiline string value with raw string literals, using a backtick (`) as the delimiter, without using a concatenation operator or special indicators for a newline or tab:
String html =
`<HTML>
<BODY>
<H1>Meaning of life</H1>
</BODY>
</HTML>
`;
Read now
Unlock full access