Remove target from a path string.
path_string (str) – Colon-separated path string.
target (str) – Entry to remove.
Updated path string with target removed.
target
str