Good evening. Today, I was writing a piece of code in Python. I have a string that is called date. It holds the following data:
date='05/04/2014'
So. I want to split this string into several substrings, each holding the day, month or year. These substrings will be called day, month and year, with the respective number in each string. How could I do this?
Also, I would like this method to work for any other date strings, such as:
02/07/2012