code: protected String[] splitToChunks(String str)
      {
          String delimiter = "[|>]";
          String[] chunks = str.split(delimiter);
          return chunks;
      }
docs: Returns the given string split to individual segments
  
  @param str the string to split
  @return the given string split to individual segments