How do I search for a range of Strings, I want to search userID
But userID may this time is "123", next time is "zxvcvb", so i can't use offsetBy
let userID = "12345"
let URL = "http://test/main/?Username=\(userID)#!/index.php"
let firstIndex = URL.index(of: "=")
let secondIndex = URL.index(of: "#")
let range = firstIndex...secondIndex //error