JCL Help:StrRepeatLength@string@SizeInt

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Repeats a string until the number L of characters is reached.

Pascal

 function StrRepeatLength(const S: string; L: SizeInt): string;

Parameters

Parameters Description
const S: string The string to repeat.
L: SizeInt The number of characters to reach.

Description

The StrRepeatLength routine returns a string consisting of the specified string, repeated until the number L of characters is reached. For example, StrRepeatLength('Hat', 5) returns 'HatHa'.


About

Unit

JclStrings


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