Difference between revisions of "Documentation/How Tos/Calc: REPT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m (→Syntax:) |
||
Line 6: | Line 6: | ||
=== Syntax: === | === Syntax: === | ||
<tt>'''REPT(text; number)'''</tt> | <tt>'''REPT(text; number)'''</tt> | ||
− | : returns <tt>'''number'''</tt> copies of <tt>'''text'''</tt>, | + | : returns <tt>'''number'''</tt> copies of <tt>'''text'''</tt>, joined together. |
=== Example: === | === Example: === |
Revision as of 06:04, 31 December 2007
REPT
returns a text string comprised of copies of another text string.
Syntax:
REPT(text; number)
- returns number copies of text, joined together.
Example:
REPT("ha"; 3)
- returns hahaha.