Seeding from the 1.2 tree.

This commit is contained in:
Dan Mashal
2013-01-01 03:00:55 -08:00
parent d8c87c4ded
commit 87b806a563
1424 changed files with 260320 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
Synopsis:
$count(<string> <text>)
Technical:
This function counts how many times <string> appears in the text specified
by <text>, possibly overlapping.
Practical:
The uses for a function like this are unlimited. One may be to count how
many times a person's nick appears in a public message, for logging
purposes.
Returns:
number of times <string> is found in <text>
Examples:
$count(. one.two.three) returns 2
$count(zz zzzz) returns 3