Count occurrences of a substring: Difference between revisions

Content added Content deleted
(Add Refal)
Line 2,121: Line 2,121:


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


{{out}}
{{out}}