help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

WideCharLenToStrVar

Convert a length-limited array of widechar to an ansistring

Declaration

Source position: wstringh.inc line 37

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505