swift attributed string find range code example
Example: find range of string swift
let string = "Please Click Here"
if let range = string.range(of: "Click") {
print(range)
}
let string = "Please Click Here"
if let range = string.range(of: "Click") {
print(range)
}