public final class StringUtilities extends Object
Modifier and Type | Method | 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 only
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.