Repeat a string: Difference between revisions

Content added Content deleted
No edit summary
Line 1,327: Line 1,327:
<syntaxhighlight lang="jq">"a " * 3' # => "a a a "</syntaxhighlight>
<syntaxhighlight lang="jq">"a " * 3' # => "a a a "</syntaxhighlight>


Note that if the integer multiplicand is 0, then the result is null.
Note that if the integer multiplicand is 0, then the result is the JSON value '''null'''.


=={{header|Julia}}==
=={{header|Julia}}==