Count occurrences of a substring: Difference between revisions

mNo edit summary
 
Line 2,151:
 
=={{header|langur}}==
<syntaxhighlight lang="langur">writeln len (indices ("th", "the three truths"))
writeln len (indices ("abab", "ababababab"</syntaxhighlight>))
</syntaxhighlight>
 
{{out}}
1,007

edits