TallyAny$

Takes two parameters, Source, Match

Description:

This command tallies the number of occurrences that any of the characters in the Match parameter are contained within the Source parameter, and returns the tally as a string.

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

Example:

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

[New] results = TallyAny$ source, match

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