I am trying to count a few different types of characters in a string and I am running into a few problems. I need to be able to count the vowels and blanks/spaces and then just everything esle and I am having problem with the everything else(by everything else i just mean the characters other than vowels and punctuation
. If anyone can help please let me know...this is urgent.

I guess we missed your 30 min deadline.

How about defining a set of characters that are all vowels, consonants, punctuation, etc., then running through the string and check is each character is in any of these sets?
Check the syntax, but it would go something like:


for i:=1 to length(MyStr) do
if uppercase(S) in Vowels then inc(VowelCount);
if uppercase(S) in Consonants then inc(ConsonantCount);