Tally$

Takes two parameters, Source, Match

Description:

This command tallies the number of times that the Match is located inside the Source, and returns the tally as a string.

This is a similar command to Tally%, which returns the tally as an integer.

Example:

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

[New] results = Tally$ source, match

Html ("results: " & results) 'results is equal to 2
 [New] source = "abcda"
[New] match = "abc"

[New] results = Tally$ source, match

Html ("results: " & results) 'results is equal to 1