subscript(_:)
Reads and writes the value at the given index as a string.
Declaration
subscript(index: Int) -> String? { get set }Parameters
- index:
The position of the element to access.
Return Value
The value at the specified index in the array, otherwise nil.