Count occurrences of a substring: Difference between revisions

Content added Content deleted
No edit summary
(added langur language example)
Line 1,336: Line 1,336:
-> 1
-> 1
</lang>
</lang>

=={{header|langur}}==
<lang langur>writeln count indices q(th), q(the three truths)
writeln count indices q(abab), q(ababababab)</lang>

{{out}}
<pre>3
2</pre>


=={{header|Lasso}}==
=={{header|Lasso}}==