code: public static String decodeString(String value) {
      if (value == null) {
        return null;
      }
      StringBuilder decoded = new StringBuilder();
      int len = value.length();
      int escapeStart = -2;
      for (int i = 0; i < len; i++) {
        char c = value.charAt(i);
        if (c == ESCAPE_CHAR && escapeStart != i - 1) {
          escapeStart = i;
        }
        else {
          decoded.append(c);
        }
      }
      return decoded.toString();
    }
docs: Unescape all delimiter chars in string.
  @param value String
  @return Decoded string