I have a string string and I need to determine if one of the characters from the Correct List string is in it ? How do I do this?
Maybe you need to change the Correct List type from String to List ?
import SwiftUI
struct test: View {
    var string: String = ""
    var correctList: String = ""
    var body: some View {
        Text(string)
    }
}
struct test_Previews: PreviewProvider {
    static var previews: some View {
        test(string: "Qwerty1", correctList: "1234567890")
    }
}
 
     
    