Skip to content
Quiz · Strings and characters · lesson 5 of 7

Quiz — a string index

What happens when this program is compiled and run?

SWIFT
let word = "Swift"
let first = word[0]
print(first)