Replaces all occurrences of a String within another String. A null reference passed to this method is a no-op. StringUtils.replace(null, , ) = null StringUtils.replace("", , ) = "" StringUtils.replace("any", null, ) = "any" StringUtils.replace("any",
(String text, String searchString, String replacement)
| 769 | * {@code null} if null String input |
| 770 | */ |
| 771 | public static String replace(String text, String searchString, String replacement) { |
| 772 | return replace(text, searchString, replacement, -1); |
| 773 | } |
| 774 | |
| 775 | /** |
| 776 | * <p>Replaces a String with another String inside a larger String, |
no test coverage detected