MCPcopy Index your code
hub / github.com/benfry/processing4 / replace

Method replace

core/src/processing/data/Table.java:4017–4021  ·  view source on GitHub ↗

Replace a String with another. Set empty entries null by using replace("", null) or use replace(null, "") to go the other direction. If this is a typed table, only String columns will be modified. @param orig @param replacement

(String orig, String replacement)

Source from the content-addressed store, hash-verified

4015 * @param replacement
4016 */
4017 public void replace(String orig, String replacement) {
4018 for (int col = 0; col < columns.length; col++) {
4019 replace(orig, replacement, col);
4020 }
4021 }
4022
4023
4024 public void replace(String orig, String replacement, int col) {

Callers 3

PShapeSVGMethod · 0.45
getChildMethod · 0.45
trimMethod · 0.45

Calls 2

getColumnIndexMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected