swift 5 string extract 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)
}