Return a reference to the character at the specified position.
Return a reference providing non-modifiable access to the character at the specified position in this string. The behavior is undefined unless position <= length(). Note that if position == length(), a reference to the null-terminating character is returned.
reference to the character at position
| Name | Description |
|---|---|
| position | starting index |