**The brief.** Implement `Split(file, delimiter)`: walk the lines, start a new section at every marker line (two at-signs and the type name), take the first non-blank line after it as the header and every later non-blank line as a row. Six checks know the answer. The battery ships **red** — the stub returns an empty list.

The format, once more (the marker is two @ characters then the type name):

@@Category categoryid,categoryname 1,Beverages

@@Region regionid,regiondescription 1,Eastern

Two details the checks care about: a blank line is not a row, and the Region marker line belongs to Region — it must never end up as the last row of Category.

Your workbench


Stuck on the blank line? Reveal the solution.

← Exercises · Lesson 1 — Declared imports

Reconnecting…
The connection to the server was interrupted. Trying to restore it…
Trying again…
The connection could not be restored. Reloading the page…
The server was updated. Reloading the page to pick up the latest version.