Find the count of a given character in a text string
CharacterCount = Len(MyString) - Len(Replace(MyString, TargetCharacter, ""))
DZone Snippets > Deane > VBScript
12363 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
CharacterCount = Len(MyString) - Len(Replace(MyString, TargetCharacter, ""))