let preferredCountryCurrenciesSymbols = ["USD", "EUR", "GBP", "HKD", "JPY", "RUB", "AUD", "CAD"]
let currency = "USDT"
I need code which loop the array and search in the string for .contains
I've tried with this, but it's not finding it
Check if array contains part of a string in Swift?
So basically the function I need is -> Bool have it or don't have it.
preferredCountryCurrenciesSymbolsfor the value found insidecurrency? Do you just want to know if any value in the array is found insidecurrency? Show what you actually tried and clearly explain what result you got versus what you want.