📜  快速查找字符串范围代码示例

📅  最后修改于: 2022-03-11 15:01:02.689000             🧑  作者: Mango

代码示例1
let string = "Please Click Here"
if let range = string.range(of: "Click") {
   print(range)

}