Contact: aviboots(AT)netvision.net.il
39,919 questions
51,852 answers
573 users
let s = "Swift Programming" let substring = s[s.index(s.startIndex, offsetBy: 1)..<s.endIndex] print(substring) /* run: wift Programming */
var s = "Swift Programming" s = String(s[s.index(s.startIndex, offsetBy: 1)..<s.endIndex]) print(s) /* run: wift Programming */
var s = "Swift Programming" s.remove(at: s.startIndex) print(s) /* run: wift Programming */
var s = "swift java c++ c python" s = String(s.dropFirst(1)) print(s) /* run: wift java c++ c python */