Share

AcString::trim

C++

AcString & trim(
    const wchar_t * pwszChars
);

Description

Removes all designated characters from both ends of the string.

Parameters

Parameters Description
pwszChars Input pointer to the string of characters to be removed

Returns

A reference to this string object.

Remarks

Trims whitespace if pwszChars is nullptr. Does nothing if pwszChars is an empty string.

Links

AcString

Previous Declaration

ACBASE_PORT AcString & trim(const wchar_t *pwszChars);

inline AcString & AcString::trim(const wchar_t *pwszChars);

Was this information helpful?