Repeat a string: Difference between revisions

m
Line 1,325:
 
=={{header|jq}}==
<syntaxhighlight lang="jq">"a " * 3' # => "a a a "</syntaxhighlight>
 
Note that if the integer multiplicand is 0, then the result is the JSON value '''null'''.
2,442

edits