Meaning & use
backslash
Last updated
Meanings
nouncountablecomputing
The symbol \ that leans from top left to bottom right, used in Windows file paths and in code.
Grammar: Countable: type a backslash.
Patterns
- type a backslash
On Windows, folder names are separated by a backslash.
You must type a backslash before the quotation mark.
He pressed the backslash key under the delete key.
nouncountablecomputingtechnical
An escape character in programming that changes how the next character is read.
Grammar: Used in code: \n for a new line.
Patterns
- a backslash escape
A backslash tells the program to treat the next character as special.
Use a backslash before the apostrophe in the string.
The code printed a backslash instead of the new line.
Word forms
| plural | backslashes |
|---|
Common combinations
- type a backslash
- Type a backslash after the drive letter.
- backslash key
- The backslash key is above the enter key.
- escape with a backslash
- Escape the quote with a backslash.
- forward slash and backslash
- Do not mix a forward slash and backslash in the path.
- double backslash
- Network paths start with a double backslash.
Synonyms and how they differ
- reverse slash
- Reverse slash is a less common name for the same symbol.
- reverse solidus
- Reverse solidus is the formal typographic name.
- escape character
- Escape character describes the function, but not the shape of the symbol.
Opposites
Word family
Commonly confused: backslash or forward slash?
backslash vs forward slash
A forward slash / is used in web addresses and tilts the other way. People often call it a backslash by mistake.
Practice
Which symbol is a backslash?
Choose one answer.
A backslash leans from top left to bottom right, as in the second option. The first is the forward slash.
Make it your own
Write a sentence using “backslash”, then check it and compare it with the examples above.