Tonight I’ll create the ability for the user to create categories of music such as “80s” or “John Denver”, or “Reggae” etc. To do this I’ll utilize an old technique we call “string parsing” which is basically the technique of reading through a text file or block of text and extracting information from it without anything being left to chance.

To create a category all the user will have to do is add a “---“ and followed by some text for the category name in his song list. The song list would now look like this…