Escape codes
m ((username removed) (log details removed): Moving to Documentation namespace)
(Automatically adding template at the end of the page.)
Line 34: Line 34:
[[Category:OCL]]
[[Category:OCL]]
[[Category:OCL String Operators]]
[[Category:OCL String Operators]]
{{Edited|July|12|2024}}

Revision as of 15:34, 10 February 2024

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.