Reports the newline (
\n
) and return (
\r
) characters in a string or character literal. These characters are commonly used as line separators, and portability may suffer if they are hardcoded.
Example:
void test() { String str = "first\nsecond\rthird"; }