I have a string something like this "May-90,June-91,July-92,", how do I separate the character from the integer and store it in an array