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 more than 6 months ago on 06/17/2024. What links here