|Think about Loose Coupling|
Cleaning up directory paths, from strings containing multiple instances of directory path+filenameby Amphiaraus (Sexton)
|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"