SyntaxFix
Write A Post
Hire A Developer
Questions
substring(from: index) Converted to [index...]
Check the sample
let text = "1234567890" let index = text.index(text.startIndex, offsetBy: 3) text.substring(from: index) // "4567890" [Swift 3] String(text[index...]) // "4567890" [Swift 4]