Count occurrences of a substring: Difference between revisions
Content deleted Content added
m →{{header|Groovy}}: corrected operator name |
add link to Delphi for pascal |
||
Line 465: | Line 465: | ||
Printf.printf "count 2: %d\n" (count_substring "ababababab" "abab"); |
Printf.printf "count 2: %d\n" (count_substring "ababababab" "abab"); |
||
;;</lang> |
;;</lang> |
||
=={{header|Pascal}}== |
|||
See [[Count_occurrences_of_a_substring#Delphi | Delphi]] |
|||
=={{header|Perl}}== |
=={{header|Perl}}== |