Tally%

Takes two parameters, Source, Match

Description:

This command tallies the number of occurrences that the Match parameter is contained in the Source parameter, and returns the tally as an integer.

This is a similar command to Tally$, which returns the tally as a string.

 Example:

[New] source = "abcda"
[New] match = "A"

[New] results = Tally$ source, match

Html ("results: " & results) 'results is equal to 0 (case sensitive)