Escaped Characters

Escaped Characters

When defining a string, is there a way to include a carriage return in the text?

Yes. A carriage return is represented by the special escapedcharacter
. However, make sure that if you really wanta line separator, and not a carriage return, that you query the line.separatorproperty using System.getProperty(). Java supports the followingescaped characters:

  •  backslash
  • horizontal tab
  • linefeed

  • f form feed
  • carriage return

  • ” double quote
  • ‘ single quote
  • \ backslash

Octal values and Unicode escape values are also supported.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular