March 2019
Intermediate to advanced
242 pages
6h 21m
English
Suppose that you have to import multiline text from a file in your Java code. How would you prefer to treat the margins of the imported text? You may have to align or indent the imported text. The text might use a custom newline delimiter (say, [), which you might prefer to strip from the text. To work with these requirements, a set of new methods, such as align(), indent(), and transform(), are being added to the String class, which we'll cover in the next section.
Read now
Unlock full access