Version

UltraCalcFunctionRept Class

Repeats text a specific number of times.
Syntax
'Declaration
 
Public Class UltraCalcFunctionRept 
   Inherits BuiltInFunctionBase
public class UltraCalcFunctionRept : BuiltInFunctionBase 
Remarks

REPT(text_value, repeat_count)

Text_value is the text which should be repeated.

Repeat_count is the positive number of times text_value should be repeated.

When repeat_count is negative, and error value is returned. When repeat_count is 0, an empty string is returned. When repeat_count is not an integer, it will be truncated.

If the length of the returned string would be greater than 32,767, an error value is returned.

REPT("-", 10)
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also