analyze text with objects
The goal of what I am trying to do is have a field were a user can type in text. From there after pressing a button The code needs to do two main things.
1. Give a number of occurrences of each letter of the alphabet used in the text
user enters: Hello world
eg. A=0, B=0,.. E=1,.. L= 3, etc
2. Length of words
eg. 5-letter word = 2 (this needs to display only the ones that are found)
Like I said I am just being introduced to objects and have a minimal foundation with functions and arrays. Hopefully someone can help me with this or at least give me some sort of direction on where to start.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread