Spread 8.0 Documentation
REPT
Support Options
Formula Reference > Built-In Functions > REPT

Glossary Item Box

REPT


Name

Repeat

Description

Repeats text a specified number of times.

Syntax

REPT(Text, Number)Remarks

Remarks

Arguments are as follows:

Argument Description
Text Text you want to repeat.
Number Number of times you want to repeat the text.

Note the following about the Number argument:

The result of the REPT function must be less than or equal to 255 characters.

Data Type

Accepts string data for the Text argument and numeric data for the Number argument. Returns string data. For more information, see Data Type for Each Cell Type.

Example

REPT(D4, 2)
fpSpread1.Formula = "REPT(""*4"", 3)" equals "*4*4*4"

Copyright © GrapeCity, inc. All rights reserved.