JCL Help:StrPLCopyW

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Copies up to MaxLen characters from Source into Dest.


Pascal

 function StrPLCopyW(Dest: PWideChar; const Source: AnsiString; MaxLen: SizeInt): PWideChar;


Parameters

Parameters Description
Dest: PWideChar Pointer to a buffer which receives a (partial) copy of Source.
const Source: AnsiString Source string from which to copy up to MaxLen characters.
MaxLen: SizeInt Maximum number of characters to copy from Source to Dest.


Return Value

Pointer to the destination string.


Description

Copies up to MaxLen characters from the Pascal style source string into a null terminated wide string. The Dest buffer must have enough room to hold at least MaxLen + 1 characters.


See Also

StrPCopyW


About

Unit

JclWideStrings


Donator

Mike Lischke


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page