Compatible Unicode Intrinsic Functions - Repeat Method

Repeat a string a number of times

Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Unicode String

Resulting string

Times

*Input

Integer

Number of times to repeat the string

Details

Repeat returns the string repeated the specified number of times.

Example

In this example, if #String contained "ABCDE" the result would be "ABCDEABCDE""

     #Com_owner.Caption := #String.Repeat( 2 )


See also

All Component Classes

Technical Reference

  • No labels