Return a reference to the last character of this string.
Declared in <bslstl_string.h>
CHAR_TYPE&
back();
Return a reference providing modifiable access to the character at the last position in this string. The behavior is undefined if this string is empty. Note that the last position is length() - 1.
reference to the last character of this string