public native operator[]( position as UInt ) as Char throws IndexException
Returns or sets the Unicode scalar at the given position.
| Parameter | Description |
|---|---|
position | Zero-based index. |
The Char stored at position.
assert "Klyn"[0u] == 'K' assert "A😀B"[1u] == '😀'