Pascal Scripting: RemoveBackslash

Inno Setup

Pascal Scripting: RemoveBackslash

Prototype:

function RemoveBackslash(const S: String): String;

Description:

Returns the specified string with any trailing slashes/backslashes removed.

Remarks:

Use of this function is discouraged; use RemoveBackslashUnlessRoot instead when working with file system paths.