I am attempting to write a script that will take both a string and a single character from the command line, and then search the string for the single character for the number of occurrences. I have attempted to do this by making the string into an array and looping through each individual element of the array, but I get 0 every time I try to do this. Is converting the string to the array of single characters possible or should I try a new method?I am attempting to write a script that will tak