10 6 49 Repeat

LANSA Technical

10.6.49 Repeat

Repeat returns the string repeated the specified number of times.

Input Parameters

Times - Number of times to repeat the string. This number must be greater than zero.

Example

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

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

 

Ý 10.6 Alphanumeric/String Intrinsic Functions