Escape codes
(Created page with "The following escape sequences is valid in OCL:  {| class="wikitable" !Escape code !Meaning |- |\0 |null |- |\a |bell |- |\b |backspace |- |\t |tab |- |\r |CR |- |\v |vertica...")
 
(Updated Edited template to July 12, 2025.)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The following escape sequences is valid in OCL: 
<message>Write the content here to display this box</message>
The following escape sequences are valid in OCL: 
{| class="wikitable"
{| class="wikitable"
!Escape code
!Escape code
Line 27: Line 28:
|\n
|\n
|newline (LF)
|newline (LF)
|-
|\'
|quote character inside a string
|}
|}
So, the typical CR+LF will be '\r\n' in OCL.
So, the typical CR+LF will be '\r\n' in OCL.
[[Category:OCL]]
[[Category:OCL String Operators]]
{{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.

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments