Share

AcString::assign

C++

AcString & assign(
    const char * psz, 
    Encoding encoding
);

Description

Assigns a string of narrow chars to the string.

Parameters

Parameters Description
psz Input pointer to the string of narrow chars to assign
encoding Input Encoding type

Returns

A reference to this string object.

Remarks

Currently, only Utf8 encoding is supported.

Links

AcString

Previous Declaration

ACBASE_PORT AcString & assign(const char *psz, Encoding encoding);

ACBASE_PORT AcString & assign(const char * psz);

Was this information helpful?