Files
doris/docs/documentation/en/sql-reference/sql-functions/string-functions/repeat_EN.md
xy720 7a0c7f45b2 Add English documents for Doris (#1719)
The english documents is translated by machine. So It may has some mistake.
We will fix them later
2019-08-29 13:47:15 +08:00

523 B

repeat

Description '35;'35;' 35; Syntax

'VARCHAR repeat (VARCHAR str, INT count)

Repeat the str of the string count times, return empty string when count is less than 1, return NULL when str, count is any NULL

'35;'35; example

mysql> SELECT repeat("a", 3);
+----------------+
repeat ('a', 3)'1244;
+----------------+
| aaa            |
+----------------+

mysql> SELECT repeat("a", -1);
+-----------------+
repeat ('a', -1) 1244;
+-----------------+
|                 |
+-----------------+

##keyword REPEAT,