repeat

Repeat a string

Syntax

repeat(string_expr,num)

Arguments

string_expr A string expression to be repeated.
num The number of repetitions of the string.

Description

This scalar string function concatenates the specified expression to itself (num-1) times.