Get the First Character of String in Swift

To get the first character of String you can use the following code

Output
First charter of string : s

Leave a Reply

Your email address will not be published. Required fields are marked *