replaceAll abstract method
- Characters pattern,
- Characters replacement
Replaces pattern
with replacement
.
Returns a new Characters sequence where all occurrences of the
pattern
characters are replaced by replacement
,
unless the occurrence overlaps a prior
replaced occurrence of pattern
.
Returns the current characters if there is no occurrence of pattern
.
Implementation
Characters replaceAll(Characters pattern, Characters replacement);