JCL Help:MoveChar@string@SizeInt@string@SizeInt@SizeInt

From Project JEDI Wiki
Jump to navigationJump to search


Summary

This function copies characters from a Source string to a destination index at different indexes. There are no checks to prevent copies outside the string spaces. The Source string has to contain at least FromIndex + Count - 1 characters, the length of the Dest string should be at least ToIndex + Count - 1.


Pascal

 procedure MoveChar(const Source: string; FromIndex: SizeInt; var Dest: string; ToIndex: SizeInt; Count: SizeInt); overload;


Parameters

Parameters Description
const Source: string Source string. Its length has to be at least FromIndex + Count - 1.
FromIndex: SizeInt Index of the first character in Source to be copied.
var Dest: string Destination string. Its length has to be at least ToIndex + Count - 1.
ToIndex: SizeInt Index of the first character of Dest to be overriden.
Count: SizeInt Number of chars to be copied.


Return Value

This function has no return value.


Description

The description for this help topic does not exist, edit this page


About

Unit

JclBase


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