Skip to content

Commit

Permalink
1108
Browse files Browse the repository at this point in the history
  • Loading branch information
isinsuarici committed Jan 25, 2022
1 parent 1dfd4d3 commit 2ea3c12
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions E_1108_DefangingAnIPAddress.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
public class Solution {
public String defangIPaddr(String address) {
String ret;
ret=address.replace(".","[.]");
return ret;

}
}

0 comments on commit 2ea3c12

Please sign in to comment.