REPEAT(S, N)

Top  Previous  Next

 

Description

This function returns the string S repeated N times.

 

Parameters

 

S

A string value.

 

N

A numeric value.

 

Examples

 

Given:

 

Z1 = "There's no place like home."

 

REPEAT(Z1, 1) = "There's no place like home."

 

REPEAT(Z1, 3) = "There's no place like home.There's no place like home.There's no place like home."

 

REPEAT(Z1, 0) = " "

 

Sponsored

Try Predictive Systems Lab

Interactive Demo →

Need Help?
Contact support