14.3.7 Miscellaneous String Methods
Class String
provides several methods that return String
s or character arrays containing copies of an original String
’s contents which are then modified. These methods—none of which modify the String
on which they’re called—are demonstrated in Fig. 14.8.
Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.