RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.WideCharLenToStrVar Function

WideCharLenToStrVar converts WideString characters to UnicodeString or AnsiString.

Pascal
procedure WideCharLenToStrVar(Source: PWideChar; SourceLen: Integer; var Dest: UnicodeString); overload;
procedure WideCharLenToStrVar(Source: PWideChar; SourceLen: Integer; var Dest: AnsiString); overload;
C++
WideCharLenToStrVar(PWideChar Source, int SourceLen, UnicodeString Dest);
WideCharLenToStrVar(PWideChar Source, int SourceLen, AnsiString Dest);

The WideCharLenToStrVar procedure converts SourceLen WideString characters from Source into a UnicodeString or AnsiString, and copies the result into Dest

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!