Escape codes
No edit summary
(Automatically adding template at the end of the page.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The following escape sequences is valid in OCL: 
The following escape sequences are valid in OCL: 
{| class="wikitable"
{| class="wikitable"
!Escape code
!Escape code
Line 32: Line 32:
|}
|}
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|2024}}

Latest revision as of 15:34, 10 February 2024

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 98 days ago on 02/10/2024. What links here