Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 exam•Written by the Fiveable Content Team • Last updated August 2025
Definition
An escape sequence is a combination of characters that represents a special character and is used to perform certain actions within a string. It begins with a backslash (\) followed by one or more characters.