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...")
 
No edit summary
Line 27: Line 27:
|\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.

Revision as of 10:55, 6 July 2018

The following escape sequences is 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