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:

Vowels=[A,E,I,O,U];

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.