Escape codes
From MDrivenWiki
The following escape sequences is valid in OCL:
Escape code | Meaning |
---|---|
\0 | null |
\a | bell |
\b | backspace |
\t | tab |
\r | CR |
\v | vertical quote |
\f | formfeed |
\n | newline (LF) |
\' | quote character inside a string |
So, the typical CR+LF will be '\r\n' in OCL.