Unique characters: Difference between revisions

m
m (→‎{{header|J}}: grammar)
Line 870:
<pre> uniques;'133252abcdeeffd';'a6789798st';'yxcdfgxcyz'
156bgstz</pre>
 
Here, <code>;</code> as a separator between quoted strings builds a list of the strings, and <code>;</code> as a prefix of that list merges the contents of the strings of that list into a single string. We could just as easily have formed a single string, but that's not what the task asked for. (Since <code>uniques</code> is a verb (aka a "function"), it's not a list element in this context.)
 
=={{header|jq}}==
6,951

edits