[#util-ContainsNoNUL] = xref:util.adoc[util]::ContainsNoNUL :relfileprefix: ../ :mrdocs: Check if a string does not contain any embedded NUL (0) characters == Synopsis Declared in `<util/string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool ContainsNoNUL(std::string_view str) noexcept; ---- == Return Value true if str contains no NUL character. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *str* | The string to inspect. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#