Return a reference to the character at the specified position.
Synopses
Declared in <bslstl_string.h>
Return a reference to the character at the specified position.
reference
operator[](size_type position);
Return a reference to the character at the specified position.
const_reference
operator[](size_type position) const;
Return Value
reference to the character at position
Parameters
Name |
Description |
position |
starting index |
Created with MrDocs