Home > Back-end >  Counting and searching for strings
Counting and searching for strings

Time:10-28

My assignment is already half done, I have made a way to make a word by typing a character into a text box and being able to add it beginning, middle, or end using different buttons. The other half is, Character count counts how many times a specific character appears in the magic word and displays this number for the user in a label. Search finds if a string exists WITHIN the magic word. If it does exist, it indicates how many times. It also indicates the characters that appear before and after the found string in the Magic Word. For an 80: Character count works and displays the correct number of times a character appears in the Magic Word with bugs. For a 90: Search counts properly but is unable to display the “Before” or “After” Strings. For a 100: All features work as described and demoed. For a 110: The program is user-friendly and gives messages to the user about circumstances including: “String string not found.” It also does not allow the search buttons to be accessed unless there is both a letter in the appropriate text box and letters in the Magic Word enter image description here

  • Related