public static String removeDelimiters(String string) {
    int length = string.length();
    if (length < 3)
      throw new RuntimeException("Cannot remove delimters from " + string);
    return string.substring(1, length - 1);
  }