Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

IntellijIDEA supports Scala multi-line strings. Scala multi-line strings feature lets you format literals and helps your code to look more orderly.

Scala offers a method called stripMargin that removes the left-hand part of a multiline string up to a specified delimiter (default: "|").

Entering Multi-line strings

...