Sign in Join
FPDoc Onlineexperiment

UnicodeCharToString function

In unit System

Convert Unicode character to string.

Declaration

pascal
function UnicodeCharToString(S: PUnicodeChar): UnicodeString

Description

UnicodeCharToString converts a null-word-terminated array of Unicode characters in S to a Unicode string value. It simply calls UnicodeCharLenToString with the length of the string S.

This function requires the use of a widestring manager.

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.