[#bsl-basic_string-0f3-operator_assign-04] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0f3.adoc[basic_string<char32_t>]::operator= :relfileprefix: ../../ :mrdocs: Assign to this string the value of the string of length one consisting of the specified `character`, and return a reference providing modifiable access to this string. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0faf.adoc[basic_string<char32_t>]& operator=(char32_t character); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#