View Single Post
Old Oct 17th, 2007, 2:44 PM   #1
mattireland
Hobbyist Programmer
 
mattireland's Avatar
 
Join Date: Jul 2007
Location: Wales, United Kingdom
Posts: 201
Rep Power: 2 mattireland is on a distinguished road
Send a message via MSN to mattireland Send a message via Skype™ to mattireland
Unhappy Counting Number of Letters in a String

Hi,

I'm trying to count the number of letters in a string. e.g. I want to know how many e's there would be in string1 or t's there would be in string2

I was going to display them in a datagrid but abandoned that idea and now want to display them as individual integers so how many e's there are would be something like intE.

Thanks!

mattireland
__________________
Matt Ireland
http://www.mattireland.org
matt@mattireland.co.uk
mattireland is offline   Reply With Quote