How Many Times a Char is Repeated in a String ? [String Subscript Out of Range Error] Here’s my Code to count how many times a char is repeated in a string :