Categories: String
REPEATSTR
Repeats the given string n times.
Syntax
REPEATSTR(expression varchar, nTimes int32) → varchar
- expression: String/characters to repeat.
- nTimes: Number of times the string should be repeated.
Examples
REPEATSTR exampleSELECT REPEATSTR('a ', 5)
-- a a a a a
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.