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



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

DupeString

Creates and concatenates N copies of a string

Declaration

Source position: strutils.pp line 52

function DupeString(

  const AText: String;

  ACount: Integer

):String;

Arguments

AText

  

String to duplicate

ACount

  

Number of copies to create

Function result

Copies of the original string.

Description

DupeString returns a string consisting of ACount concatenations of AText. Thus

DupeString('1234567890',3);

will produce a string

'123456789012345678901234567890'

Errors

None.

Notes

 No notes exist for this page yet. 





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