public final class StringUtilities extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
substitute(String input,
String pattern,
String sub)
Replace all patterns in a String
|
public static String substitute(String input, String pattern, String sub)
input - - string to be transformedpattern - - pattern to replacesub - - replacement- JDK1.4 onlyCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.