最佳答案
计算字符串中特定字符出现次数的最简单方法是什么?
也就是说,我需要编写一个函数 count TheProperties () ,以便
str = "the little red hen"
count = countTheCharacters(str,"e") ' Count should equal 4
count = countTheCharacters(str,"t") ' Count should equal 3