JCL Help:StrLCatW

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Concatenates two strings enforcing a maximum for the total length.


Pascal

 function StrLCatW(Dest: PWideChar; const Source: PWideChar; MaxLen: SizeInt): PWideChar;


Parameters

Parameters Description
Dest: PWideChar Pointer to a string buffer to which to append characters from Source. This buffer must have room to hold at least MaxLen + 1 characters.
const Source: PWideChar The string which is (partially) appended to Source.
MaxLen: SizeInt Maximum length of the resulting string.


Return Value

Pointer to the destination string.


Description

StrLCatW concatenates two strings and ensures that the resulting string is at maximum MaxLen characters long. Thus, it appends at most MaxLen - StrLenW(Dest) characters from Source to Dest.


See Also

StrCatW


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