I've a string like:
10-24-2017 10:09:18.218 - my_test - INFO - My Automation version 0.0.1
And I wish to split the string by the token " - " (Note the leading and lagging white-spaces). IOW, the above string should be split as:
{'10-24-2017 10:09:18.218', 'my_test', 'INFO', 'My Automation version 0.0.1'}
If I just split by '-', then the date string will also be split which I don't wish to do. Can someone point me in the right direction?
Thanks