Skip to content

WideCharToString

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

Declaration

Source position: ustringh.inc line 34

function WideCharToString(S: PWideChar) : UnicodeString;

Description

WideCharToString converts the null-terminated widechar array S to an unicodestring, and returns the unicodestring.

Errors

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

See also

Name Description
StringToWideChar Convert a string to an array of widechars.
WideCharToStrVar Convert a null-terminated array of widechar to an ansistring.
WideCharLenToStrVar Convert a length-limited array of widechar to an ansistring.
WideCharLenToString Convert a length-limited array of widechar to an unicodestring.