Escape codes

The following escape sequences are 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.

This page was edited 150 days ago on 06/17/2024. What links here