Jump to content

Repeat a string: Difference between revisions

no edit summary
No edit summary
Line 338:
To repeat a single character:
<lang scheme>(string-make 5 #\*)</lang>
 
=={{header|Snobol4}}==
<lang snobol4>
output = dupl("ha",5)
end
</lang>
 
=={{header|Tcl}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.