Share

AcString::remove

C++

Adesk::Int32 remove(
    wchar_t wch
);

Description

Remove all occurrences of the specified character in the string.

Parameters

Parameters Description
wch Input wide character to be removed

Returns

Number of characters removed. Zero if the string was not changed.

Remarks

Removes whitespace characters if wch argument is null.

Links

AcString

Previous Declaration

AutoCAD 2024 and earlier

ACBASE_PORT int remove(wchar_t wch);

History

AutoCAD 2025

Function now returns Adesk::Int32 instead of int.

Was this information helpful?