Count occurrences of a substring: Difference between revisions

Content added Content deleted
m (→‎{{header|Quackery}}: tweaked commentary)
Line 2,557: Line 2,557:
</pre>
</pre>


Finally we canl use <code>findall$</code> to fulfil the task requirements.
Finally we can use <code>findall$</code> to fulfil the task requirements.


<lang Quackery> [ swap findall$ size ] is occurences ( $ $ --> n )
<lang Quackery> [ swap findall$ size ] is occurences ( $ $ --> n )