[#bsl-basic_string-01d-pop_back]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-01d.adoc[basic&lowbar;string&lt;char8&lowbar;t&gt;]::pop&lowbar;back
:relfileprefix: ../../
:mrdocs:

Erase the last character from this string&period; The behavior is undefined if this string is empty&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
pop&lowbar;back();
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
