What do you want to save?
Add Code snippet
New code examples
-
Java 2021-09-05 11:37:02
how to replace in java
public static void main(String args[]){ String s1="my name is khan my name is java"; String replaceString=s1.replace("is","was");//replaces all occurrences of "is" to "was" System.out.println(replace... Add solution -
C# 2021-09-05 10:12:03
c# string replace multiple matches with one charactar
public static class ExtensionMethods { public static string Replace(this string s, char[] separators, string newVal) { string[] temp; temp = s.Split(separators, StringSplitOptions.RemoveEmptyEntries); return String.Join( newVal... Add solution
Best helpers
Ranking is empty