Update OOP/Java/Lab/Week9/replacing.java
This commit is contained in:
parent
6480627716
commit
c910a492db
@ -13,7 +13,6 @@ class replacing{
|
|||||||
|
|
||||||
int index=str.indexOf(word);
|
int index=str.indexOf(word);
|
||||||
int wlen=word.length();
|
int wlen=word.length();
|
||||||
String
|
|
||||||
String rep="";
|
String rep="";
|
||||||
for(int i=0;i<wlen;i++)
|
for(int i=0;i<wlen;i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user