Longest common suffix: Difference between revisions
Content deleted Content added
Catskill549 (talk | contribs) added AWK |
Added Quackery. |
||
Line 1,789:
<pre>day
dag</pre>
=={{header|Quackery}}==
<code>commonprefix</code> is defined at [[Longest common prefix#Quackery]].
<lang Quackery> [ [] swap
witheach
[ reverse nested join ]
commonprefix
reverse ] is commonsuffix ( [ --> $ )
$ "monday tuesday wednesday thursday friday saturday sunday"
nest$ commonsuffix echo$</lang>
{{out}}
<pre>day</pre>
=={{header|Raku}}==
|