Answers for "java remplace string"

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
0

Java string replace

String a = "Cool";
a = a.replace("o","yy");
Posted by: Guest on June-07-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language