Name

WideCharLenToString Function

Syntax

function WideCharLenToString(Source: PWideChar; Len: Integer): string;

Description

WideCharLenToString converts a Unicode string of Len characters (not bytes) to a multibyte character string. 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, WideCharLenToStrVar Procedure, WideCharToString Function, 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.