Inno Setup Preprocessor: RemoveBackslashUnlessRoot

Prototype

str RemoveBackslashUnlessRoot(str S)

Description

Removes the trailing backslash from the string unless the string points to a root directory, and returns the result.

Declared in ISPPBuiltins.iss.