MCPcopy Index your code
hub / github.com/jOOQ/jOOQ / replace

Method replace

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

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)

Source from the content-addressed store, hash-verified

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,

Callers 11

formatMethod · 0.95
formatCSV0Method · 0.95
escapeMethod · 0.95
parseMethod · 0.95
escapeMethod · 0.95
formatMethod · 0.95
sqlMethod · 0.95
literalMethod · 0.95
toPGArrayString0Method · 0.95
toPGString0Method · 0.95
unmarshalMethod · 0.95

Calls 5

isEmptyMethod · 0.95
indexOfMethod · 0.65
lengthMethod · 0.65
appendMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected