comefrom: <awangdev>1108. Defanging an IP Address_1.java
code: public String defangIPaddr(String address) {
          StringBuffer sb = new StringBuffer();
          for (char c : address.toCharArray()) {
              if (c == '.') {
                  sb.append("[.]");
              } else {
                  sb.append(c);
              }
          }
          return sb.toString();
      }
masked: public String var_0 ( String var_1 ) {
    StringBuffer var_2 = new StringBuffer ( ) ;
    for ( char var_3 : var_1 . toCharArray ( ) ) {
      if ( var_3 == '.' ) {
        var_2 . append ( "[.]" ) ;
      }
      else {
        var_2 . append ( var_3 ) ;
      }
    }
    return var_2 . toString ( ) ;
  }
  