Skip to content
Vladyslav Pekker edited this page Dec 26, 2015 · 8 revisions

⬅️ | ➡️

In the StringOpsModule spells defines utilities for Strings:

scala> println("Hello World!".wrappedOnSpaces(availableWidthInCharacters = 4))
Hello
World!
scala> println("Hello World!".wrappedOnSpaces)
Hello World!
scala> class `One + Two`
defined class One$u0020$plus$u0020Two

scala> println(new (`One + Two`).getClass.getName.toString)
One$u0020$plus$u0020Two

scala> println(new (`One + Two`).getClass.getName.withDecodedScalaSymbols)
One + Two

⬅️ | ➡️

Clone this wiki locally