Jump to content

Repeat a string: Difference between revisions

Line 1,011:
 
=={{header|Julia}}==
{{works with|Julia|0.6}}
<lang julia>"ha"^5
 
'*'^5
<lang julia>@show "ha" ^ 5
#the (^) operator is really just call to the `repeat` function
 
repeat("ha",5)</lang>
#the (The ^) operator is really just call to the `repeat` function
@show repeat("ha", 5)</lang>
 
=={{header|K}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.