code: public static String[] splitSuffix(String suffix) {
      String theSuffix = suffix;
  
      String[] parts;
      if (StringUtils.isBlank(theSuffix)) {
        // no suffix given - return empty list
        parts = new String[0];
      }
      else {
        // remove leading slash
        if (theSuffix.startsWith(ESCAPED_SLASH)) {
          theSuffix = theSuffix.substring(ESCAPED_SLASH.length());
        }
  
        // remove file extension
        theSuffix = StringUtils.substringBeforeLast(theSuffix, ".");
  
        // split the suffix to extract the paths of the selected components
        parts = StringUtils.split(theSuffix, SUFFIX_PART_DELIMITER);
      }
  
      return parts;
    }
docs: Split suffix
  @param suffix Suffix
  @return Suffix parts