๐Ÿ’ปap computer science a review

Escape Sequence

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 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.

"Escape Sequence" also found in: