Contact: aviboots(AT)netvision.net.il
39,914 questions
51,847 answers
573 users
var s = "swift java c++ c python" let N = 7 s.removeSubrange(s.startIndex..<s.index(s.startIndex, offsetBy: N)) print(s) /* run: ava c++ c python */
var s = "swift java c++ c python" let N = 7 s = String(s.dropFirst(N)) print(s) /* run: ava c++ c python */