System.WideCharLenToStrVar
Delphi
procedure WideCharLenToStrVar(Source: PWideChar; SourceLen: Integer; var Dest: UnicodeString);
procedure WideCharLenToStrVar(Source: PWideChar; SourceLen: Integer; var Dest: _AnsiStr);
C++
extern DELPHI_PACKAGE void __fastcall WideCharLenToStrVar(WideChar * Source, int SourceLen, UnicodeString &Dest)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | System.pas System.hpp | System | System | 
Description
WideCharLenToStrVar converts WideString characters to UnicodeString or AnsiString.
The WideCharLenToStrVar procedure converts SourceLen WideString characters from Source into a UnicodeString or AnsiString, and copies the result into Dest.