Adds a backslash to the end of a path if there isn't one.
NewPath = SRP_Path("AddBackslash", Path) |
Parameter | Description |
---|---|
Path | A path without command line parameters. |
The path with a backlash at the end.
The AddBackslash service checks the end of the given path, taking whitespace into account, and returns a new path with a backslash added if necessary.
Result1 = SRP_Path("AddBacklash", "C:\Path") Result2 = SRP_Path("AddBacklash", "C:\Path\") |
Both Result1 and Result2 will contain "C:\Path\".