Let's learn more about strings! A string is a sequence of characters.
When to use
Strings are something that you're going to use all the time, whenever you write code.
Strings can be wrapped in single or double quotes.
You can use the escape character "\" to print a quotation mark to the screen.
\n creates a line break.
Hints & tips
- Strings are wrapped in single or double quotes
- \ is an escape character
- \n means new line
Lesson notes are only available for subscribers.