I would like to parse an input file of form:
USA:CA:Los Angeles
USA:CA:San Francisco
USA:NY:New York
CAN:Alb:Edmonton
CAN:Alb:Calgary
The states in the USA are: NY, CA.
The cities in NY are: New York
In reply to references // nested data structure by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |