Escape codes
No edit summary
No edit summary
Line 33: Line 33:
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]]
[[Category:OCLOperators]]
[[Category:OCL String Operators]]
[[Category:OCL String Operators]]

Revision as of 05:52, 18 April 2023

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