Removes a trailing backslash if there is one.
NewPath = SRP_Path("RemoveBackslash", Path) |
Parameter | Description |
---|---|
Path | A path without command line parameters. |
The path without a backlash at the end.
The RemoveBackslash service checks the end of the given path, taking whitespace into account, and returns a new path with a backslash removed if necessary.
Result1 = SRP_Path("RemoveBackslash", "C:\Path") Result2 = SRP_Path("RemoveBackslash", "C:\Path\") |
Both Result1 and Result2 will contain "C:\Path".
AddBackslash, RemoveDirectory, RemoveExtension, RemoveFilename, RemoveParameters