PATHSEPREMOVE

This activity receives a folder path and removes the trailing path separator ('\' or '/'), if present.  When used in conjunction with PATHSPLIT, for example, this provides the capability to traverse all the folders in a folder path.

NOTE: For best performance, we advise that you limit use of activities such as this to non-intensive parts of your solution.  In particular, you should avoid extensive string manipulations at a process orchestration level inside iterative parts of your solution.  Extensive string manipulation is usually a task best performed in compiled program code.

INPUT Parameters:

PATHIN: Required

This parameter specifies the folder path whose trailing path separator is to be removed, if present.

OUTPUT Parameters:

PATHOUT:

Upon completion, this parameter will contain the specified folder path with the trailing path separator removed.  If there was no trailing separator, then this parameter contains the input folder path (PATHIN) value, unchanged.