System.WideCharToUCS4String
Delphi
function WideCharToUCS4String(S: PWideChar; Len: Integer = MaxInt): UCS4String;
C++
extern DELPHI_PACKAGE UCS4String __fastcall WideCharToUCS4String(WideChar * S, int Len = 0x7fffffff);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.pas System.hpp |
System | System |
Description
Converts a sequence of wide characters to a UCS4 string.
Parameters:
S | Source string. Pointer to a sequence of wide characters. |
Len | Maximum length of the source string. |
This routine is similar to WideStringToUCS4String, except that you can specify the number of wide characters to convert.