[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

WideCharLenToStrVar

Convert a length-limited array of widechar to an ansistring

Declaration

Source position: ustringh.inc line 39

procedure WideCharLenToStrVar(

  Src: PWideChar;

  Len: SizeInt;

  out Dest: UnicodeString

);

procedure WideCharLenToStrVar(

  Src: PWideChar;

  Len: SizeInt;

  out Dest: AnsiString

);

Description

WideCharLenToString converts at most Len widecharacters from the null-terminated widechar array Src to an ansistring, and returns the ansistring in Dest.

Errors

No validity checking is performed on Src. Passing an invalid pointer 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 ansistring

WideCharToStrVar

  

Convert a null-terminated array of widechar to an ansistring

WideCharLenToString

  

Convert a length-limited array of widechar to an ansistring


Documentation generated on: Mar 17 2017