Get nth character of a string in Swift programming language How can I get the nth character of a string? I tried bracket() accessor with no luck. var string = "Hello, world!" var firstChar = string... May 4, 2022 0 Comments