Home : Products : Hach WIMS : Hach WIMS Client : Documentation : Function Reference : Spread Functions : Primitive Functions : REPT
Q11584 - INFO: REPT

REPT (Primitive Spread Function) repeats text a specified number of times.

SYNTAX:

REPT(Text, Number)

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:

  • If Number is 0, REPT returns " " (empty text).
  • If Number is not an integer, the result is truncated.

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

EXAMPLES:

REPT(D4, 2)
REPT("*4", 3) equals *4*4*4

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
This formula does not work in a spread report. It seems like when you try to locate it, the spread report wants the formula to result in a number. But- if you go back to change the cell format to text (after locating the formula) is destroys the formula. Approved: 9/30/2009 4:27 PM
Created on 8/27/2008 5:04 PM.
Last Modified on 8/27/2008 5:06 PM.
Last Modified by No Author Name Available!.
Article has been viewed 2327 times.
Rated 1 out of 10 based on 1 vote.
Print Article
Email Article