Sign in Join
FPDoc Onlineexperiment

UnicodeCharToStrVar procedure

In unit System

Convert a null-terminated memory buffer with Unicode characters to an ansistring.

Declaration

pascal
procedure UnicodeCharToStrVar(S: PUnicodeChar; out Dest: AnsiString)

Description

UnicodeCharLenToString converts the Unicode characters in buffer S up to the first null word, to an ansistring and returns the result in Dest

This function does the same as UnicodeCharToString.

Errors

No checking is done to see if the pointer S is valid.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.