[ad_1]
Get the first index of the dot and get the substring after that index
let str = "asderwt.qwertyu.zxcvbbnnhg"
if let index = str.firstIndex(where: { $0 == "." }) {
print(str[index...])//.qwertyu.zxcvbbnnhg
}
[ad_2]
solved Trim String before specific character?