public class StringUtil extends Object
| Constructor and Description |
|---|
StringUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
replaceAll(String source,
String toReplace,
String replacement)
Replaces all occurences of a pattern within a String.
|
public static String replaceAll(String source, String toReplace, String replacement)
source - The source string.toReplace - The character to replace.replacement - The replacement.Copyright © 2021. All rights reserved.