Name

WideCharLenToStrVar Procedure

Syntax

procedure WideCharLenToStrVar(Source: PWideChar; Len: Integer;
   var Dest: string);

Description

WideCharLenToStrVar converts a Unicode string of Len characters (not bytes) to a multibyte character string, which it stores in Dest. See WideString for more information about Unicode and multibyte strings.

See Also

OleStrToString Function, OleStrToStrVar Procedure, PWideChar Type, String Keyword, StringToOleStr Function, StringToWideChar Function, WideChar Type, WideCharLenToString Function, WideCharLenToStrVar Procedure, WideCharToStrVar Procedure, WideString Type

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.