Visual Basic 2008 Character tallying

  • Thread starter Thread starter jazFunk
  • Start date Start date
  • Tags Tags
    Visual
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
jazFunk
Messages
12
Reaction score
0
I'm trying to write a program which analyzes a string consisting of multiple names/words and outputs how many of each letter occurrences there are. (including upper and lower case characters.)

i.e. string: "lafayette polk detroit"
contains: 2-a's, 3-e's, 1-i, 2-o's, etc., etc.

I'm pulling my hair out trying to figure this out. Any assistance is greatly appreciated.
 
Physics news on Phys.org
Well, I've scrapped several ideas. So, at this point, I'm back to nothing but a blank form with text boxes...starting over!

I'm not the most proficient programmer, I'm not even good. I'm trying to create something to make my life at work easier.

I've tried all kinds of online code "snippets", but nothing is working to fit my needs.

Any advice on how to get started in the right direction?
 
Ok, I've got it all working now. However one question remains... How do I convert list box items to a string? The items are string values.