MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / subst

Method subst

CodenameOne/src/com/codename1/util/regex/RE.java:1487–1489  ·  view source on GitHub ↗
(String substituteIn, String substitution)

Source from the content-addressed store, hash-verified

1485 /// expression object doesn't match at any position, the original String is returned
1486 /// unchanged).
1487 public String subst(String substituteIn, String substitution) {
1488 return subst(substituteIn, substitution, REPLACE_ALL);
1489 }
1490
1491 /// Substitutes a string for this regular expression in another string.
1492 /// This method works like the Perl function of the same name.

Callers 5

replaceAllMethod · 0.80
replaceFirstMethod · 0.80
invoke2Method · 0.80

Calls 10

matchMethod · 0.95
appendMethod · 0.95
getParenStartMethod · 0.95
getParenMethod · 0.95
getParenEndMethod · 0.95
toStringMethod · 0.95
lengthMethod · 0.65
substringMethod · 0.65
indexOfMethod · 0.65
charAtMethod · 0.65

Tested by 1