Dec 14, 2019by Sai gowthamHow to get the first character from a string in Swiftswift1min readTo get the first character from a string we need to use the string.first property in swift. Example: let name = "polo" if let firstChar = name.first { print(firstChar) } // Prints "p" Resource links Swift- first property docsShare: