You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replace(String text, String repl, String with) text.replace(repl, with) Since Java 1.5. String.replace replaces all occurrences (despite the name not being replaceAll, which implies Regex).
replace(String text, char repl, char with) text.replace(repl, with) Since Java 1.5. Replaces all occurrences of the char.
contains(String str, String searchStr) str.contains(searchStr) Since Java 1.5.
Activity
[-]Deprecate replacew and contains methods[/-][+]Deprecate replace and contains methods[/+]