Contact: aviboots(AT)netvision.net.il
39,845 questions
51,766 answers
573 users
let s = "swift" let firstCharacter = s.first! print(firstCharacter) /* run: s */
let s = "swift" let firstCharacter = s.prefix(1) print(firstCharacter) /* run: s */