Skip to content

remove_common_prefix(input_path, common_root_base)

Compare an input path and a path with a common root with the input path, and returns only the part of the input path that is not shared with the _common_root_path. Previously named RemoveCommonPrefix

Parameters:

Name Type Description Default
input_path TYPE

DESCRIPTION.

required
common_root_base TYPE

DESCRIPTION.

required

Returns:

Type Description
TYPE

DESCRIPTION.

Back to top