The Repeat() function makes copies of its first argument into a result. The second (and sometimes a third) argument is the number of repeats, where 1 means a single copy.
Repeat( "abc", 2 );
"abcabc"
Repeat( {"A"}, 2 );
{"A","A"}
Repeat( {1, 2, 3}, 2 );
{1,2,3,1,2,3}
Repeat( [1 2, 3 4], 2, 3 );
[	1 2 1 2 1 2,
	3 4 3 4 3 4,
	1 2 1 2 1 2,
	3 4 3 4 3 4]
Repeat( 9, 2, 3 );
[	9 9 9,
	9 9 9]
The repeat function is compatible with the function of the same name in the SAS/IML language, but is incompatible with the SAS character DATA step function, which repeats one more time than this function.

Help created on 10/11/2018