[#BloombergLP-bdlb-CharType-toAscii]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/CharType.adoc[CharType]::toAscii
:relfileprefix: ../../../
:mrdocs:

Return the enumerator name for `category` as a C string&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;chartype&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
char const*
toAscii(xref:BloombergLP/bdlb/CharType/Category.adoc[CharType::Category] category);
----

== Description

Return a null&hyphen;terminated string representation of the specified character `category` enumerator that is identical to the enumerator name&period;

== Return Value

null&hyphen;terminated string identical to the enumerator name

== Parameters

[cols="1,4"]
|===
| Name| Description
| *category*
| character category whose name is returned
|===


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