[#BloombergLP-bdlt-FormatTestUtil-narrow] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/FormatTestUtil.adoc[FormatTestUtil]::narrow :relfileprefix: ../../../ :mrdocs: Convert the string referred to by the specified `viewIn` from `wchar_t` to `char` and return the resulting `bsl::string` by value. The behavior is undefined unless all of the `wchar_t` values in `viewIn` are ascii. == Synopsis Declared in `<bdlt_formattestutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:bsl/string.adoc[bsl::string] narrow(std::wstring_view const& viewIn); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#