[#bsl-basic_string-01d-operator_assign-0fa] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-01d.adoc[basic_string<char8_t>]::operator= :relfileprefix: ../../ :mrdocs: Assign to this string the value of the specified null‐terminated `rhs` string (of length `CHAR_TRAITS::length(characterString)`), 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<char8_t>]& operator=(char8_t const* rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#