How can I extract parts of this filename in Perl?
- by devtech
In my Excel sheet with column Changeset I am getting the changeset like:
C:\ccviews\hgdasdff-9302\dfcsz\ahgrt\kjhssl\ASGHLS@@\main\ajsdkljlat\hahdasdhfk\1\test.txt\sub\hsdaklfl\3
I need to use split function in a Perl script so that there will be two ouput (input as the above string)
the part before @@ (e.g-here C:\ccviews\hgdasdff-9302\dfcsz\ahgrt\kjhssl\ASGHLS)
the last character of the string (e.g-here 3)