|Don't ask to ask, just ask|
Cleaning up directory paths, from strings containing multiple instances of directory path+filenameby Amphiaraus (Acolyte)
|on Oct 18, 2012 at 20:26 UTC||Need Help??|
Amphiaraus has asked for the
wisdom of the Perl Monks concerning the following question:
Is it possible to remove directory paths from directory path + filename strings, leaving the filename only, if more than one directory path + filename string occur as substrings within a larger string?
Can this string-
.. be changed to this string-
The above arguments are concerned with moving a file named "VehicleRecordUpdateUtility.exe" to a folder named "EngPublish"