Escape codes
(Replacing message template with parser tag)
(Updated Edited template to July 12, 2025.)
 
Line 35: 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.