Help Center

AfxPathRemoveBlanksfunction

Removes all leading and trailing spaces from a string.

String ManagementfunctionAfxPath.incdocumented

Syntax

FUNCTION AfxPathRemoveBlanks (BYREF wszPath AS CONST WSTRING) AS DWSTRING

Parameters

NameDescription
wszPathA string that contains the path from which to strip all leading and trailing spaces.

Return value

The changed path.

Description

Removes all leading and trailing spaces from a string.

Reference

  • Include file AfxPath.inc
  • Defined in AfxNova/AfxPath.inc:635
  • Documented in String Management/Path and Url Procedures.md
  • Topic: Path and Url procedures