Previous Up Next

5.3.2 The newline character: \n

A newline can be inserted into a string with \n.

Example.

Input:

Hello\nHow are you?

Output:

Hello
How are you?

Previous Up Next