code: public String[] getNthSplit(String start, String end, int split, int numSplits) throws IOException
  	{
  		SeekableLineReader slr = null;
  		String startLine = null;
  		String endLine = null;
  		
  		try {
  			slr = factory.get();
  			
  			long[] offsets = getStartEndOffsets(slr, start, end);
  			long startOffset = offsets[0];
  			long diff = offsets[1] - offsets[0];
  				
  			long seekDiff = (diff * split) / numSplits;
  			
  			slr.seek(startOffset + seekDiff);
  			
  			if ((startOffset + seekDiff) > 0) {
  				slr.skipLine();
  			}
  			
  			startLine = slr.readLine();
  			endLine = null;
  			
  			if (split <= (numSplits - 1)) {
  				seekDiff = (diff * (split + 1)) / numSplits;
  				slr.seek(startOffset + seekDiff);
  				slr.skipLine();
  				endLine = slr.readLine();
  			} else {
  				endLine = end;
  			}
  
  			// Last line
  			if (endLine == null) {
  				endLine = getLastLine(slr);
  			}
  			
  		} finally {
  			if (slr != null) {
  				slr.close();
  			}
  		}
  		
  		return new String[]{startLine, endLine};
  	}
docs: end exclusive