[#BloombergLP-bslstl-StringRefImp-02-cStringLength]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StringRefImp-02.adoc[StringRefImp&lt;char&gt;]::cStringLength
:relfileprefix: ../../../
:mrdocs:

Return the number of `CHAR&lowbar;TYPE` characters in the specified null&hyphen;terminated `data` string, up to but not including the terminal null value&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;stringrefdata&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::size&lowbar;t
cStringLength(char const* data);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
