InstallShield 2019 ยป InstallScript Language Reference
The StrAddLastSlash function adds a trailing backslash to a path specification if it does not already have one.
Syntax
StrAddLastSlash ( svPath );
Parameters
| Parameter | Description | 
| svPath | Specifies a string whose value must be a path specification; it returns the path with a trailing backslash. Note that if the path includes a trailing backslash, it is returned unchanged. | 
Return Values
| Return Value | Description | 
| >= ISERR_SUCCESS | Indicates that the function successfully added the trailing backslash or that the path contains a trailing backslash. | 
| InstallShield 2019 Help LibraryApril 2019 | Copyright Information | Flexera |