AfxPathRemoveBackslashfunction
Removes the trailing backslash from a given path.
Syntax
FUNCTION AfxPathRemoveBackslash (BYREF wszPath AS CONST WSTRING) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
wszPath | A string that contains the path from which to remove the backslash. |
Return value
The changed path. If no trailing backslash was found, the string is unchanged.
Description
Removes the trailing backslash from a given path.
Example
DIM dws AS DWSTRING = AfxPathRemoveBackslash("c:\a\b\File\")
Reference
- Include file
AfxPath.inc - Defined in AfxNova/AfxPath.inc:99
- Documented in String Management/Path and Url Procedures.md
- Topic: Path and Url procedures