Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

WideCharToStrVar

Convert a null-terminated array of widechar to an ansistring.

Declaration

Source position: ustringh.inc line 39

procedure WideCharToStrVar(

  S: PWideChar;

  out Dest: UnicodeString

);

procedure WideCharToStrVar(

  S: PWideChar;

  out Dest: AnsiString

);

Description

WideCharToString converts the null-terminated widechar array S to an ansistring or Unicode string, and returns the resulting string in Dest.

Errors

No validity checking is performed on S. Passing an invalid pointer, or an improperly terminated array may lead to access violations.

See also

StringToWideChar

  

Convert a string to an array of widechars.

WideCharToString

  

Convert a null-terminated array of widechar to an unicodestring.

WideCharLenToStrVar

  

Convert a length-limited array of widechar to an ansistring.

WideCharLenToString

  

Convert a length-limited array of widechar to an unicodestring.


Documentation generated on: Oct 02 2024