MCPcopy Create free account
hub / github.com/jOOQ/jOOQ / replaceEach

Method replaceEach

jOOQ/src/main/java/org/jooq/tools/StringUtils.java:868–870  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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>

Callers 1

escapeXMLMethod · 0.95

Calls 5

lengthMethod · 0.65
indexOfMethod · 0.65
minMethod · 0.65
appendMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected