There is a file with a name like Sanjay0720-0521
These Numbers are nothing but 0720 is July 2020, 0521 is May 2021
My question is, after getting 07-20 and 05-21 from the file name, can we generate an array like this dynamically by using libraries available?!
Expected Result -
Aray variable = Jul-2020,Aug-2020,… Till May-2021
Thanks in Advance!!