Jump to content

Repeat a string: Difference between revisions

→‎{{header|PL/I}}: A correction
(→‎{{header|PL/I}}: Add repeat function)
(→‎{{header|PL/I}}: A correction)
Line 1,544:
=={{header|PL/I}}==
<lang PL/I>
/* To repeat a string a fixedvariable number of times: */
 
s = repeat('ha', 4);
1,392

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.