Escape codes
(Automatically adding template at the end of the page.)
(Updated Edited template to July 12, 2025.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
The following escape sequences are valid in OCL: 
The following escape sequences are valid in OCL: 
{| class="wikitable"
{| class="wikitable"
Line 34: Line 35:
[[Category:OCL]]
[[Category:OCL]]
[[Category:OCL String Operators]]
[[Category:OCL String Operators]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Latest revision as of 05:49, 20 January 2025

This page was created by Lars.olofsson@mdriven.net on 2017-08-18. Last edited by Edgar on 2025-01-20.

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.