Replaces all occurrences of Strings within another String. A null reference passed to this method is a no-op, or if any "search string" or "string to replace" is null, that replace will be ignored. This will not repeat. For repeating replaces, call the overloaded method. <
(String text, String[] searchList, String[] replacementList)
| 866 | * @since 2.4 |
| 867 | */ |
| 868 | public static String replaceEach(String text, String[] searchList, String[] replacementList) { |
| 869 | return replaceEach(text, searchList, replacementList, false, 0); |
| 870 | } |
| 871 | |
| 872 | /** |
| 873 | * <p> |