chickadee » filepath » replace-directory

replace-directory PATH DIRprocedure

Replaces the directory component of a path with the given one.