I want to store date in dd-MMM-yyyy (17-MAR-2017) in string say X. : <p>in one string say X. Now I want to split this string in another string that is, say y= x.split , such that y[0] = 17, y[1] = MAR y[2] = 2017. How to write prog for this in Java. </p>
