In Swift 3, I want to create an array of matching string (case insensitive) from string array:-
I am using this code, but it is case sensitive,
let
The easiest way might be to lowercase your strings and compare:
Swift 3 and above
let filteredArray = self.arrCountry.filter { $0.lowercased() == "india" }