Contact: aviboots(AT)netvision.net.il
40,866 questions
53,271 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 */