It is a simple example of how you could use split to manage a line of text like you supplied. It will not work out of the box. You will in fact have to learn what the code does and customize it to your needs ... or even refactor it in a way that suits you better
Comment on Re^3: newbie need help with a simple code