I am trying to create a program that stores a string in a variable called input .
With this input variable, I am trying to convert it to an array, and then check with a for loop whether each character in the lowerCase array will be or not. How can i achieve this?
Here is how far I got:
var input = "The quick BroWn fOX jumpS Over tHe lazY DOg" var inputArray = Array(input) for character in inputArray { }
source share