[#BloombergLP-bsls-Alignment-toAscii]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Alignment.adoc[Alignment]::toAscii
:relfileprefix: ../../../
:mrdocs:

Return the string representation of the specified enumerator `value`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;alignment&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
char const*
toAscii(xref:BloombergLP/bsls/Alignment/Strategy.adoc[Alignment::Strategy] value);
----

== Description

The string representation of `value` matches its corresponding enumerator name with the &quot;BSLS&lowbar;&quot; prefix elided&period; For example&colon; &grave; bsl&colon;&colon;cout &lt;&lt; Alignment&colon;&colon;toAscii(Alignment&colon;&colon;BSLS&lowbar;NATURAL)&semi; &grave; will print the following on standard output&colon; &grave; NATURAL &grave;

== Return Value

string representation of `value` with the &quot;BSLS&lowbar;&quot; prefix elided

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| alignment strategy enumerator to convert
|===


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