Answers for "java repalce"

0

java string repalce

String str1 = "abc123abc123";
String str2 = str1.replace("abc", "0");
System.out.println(str2); // 01230123
Posted by: Guest on August-25-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language