[#BloombergLP-bslstl-StringRefImp-02-cStringLength] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StringRefImp-02.adoc[StringRefImp<char>]::cStringLength :relfileprefix: ../../../ :mrdocs: Return the number of `CHAR_TYPE` characters in the specified null‐terminated `data` string, up to but not including the terminal null value. == Synopsis Declared in `<bslstl_stringrefdata.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::size_t cStringLength(char const* data); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#