[#BloombergLP-bslfmt-FormatterCharUtil-0c-outputFromChar-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatterCharUtil-0c.adoc[FormatterCharUtil&lt;wchar&lowbar;t&gt;]::outputFromChar
:relfileprefix: ../../../
:mrdocs:

Write the character range &lsqb;`begin`, `end`) to the wide output iterator&period;&rsqb;

== Synopsis

Declared in `&lt;bslfmt&lowbar;formattercharutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;ITERATOR&gt;
static
t&lowbar;ITERATOR
outputFromChar(
    char const* begin,
    char const* end,
    t&lowbar;ITERATOR out);
----

== Description

Output to the specified output iterator `out` the character sequence starting at the specified `begin` address and ending immediately before the specified `end` address&period; Return `out` incremented by the number of characters written&period; The behavior is undefined unless `begin &lt;&equals; end`&period; Note that in case of a negative input character the outputted result is unspecified&period;

== Return Value

`out` incremented by the number of characters written

== Parameters

[cols="1,4"]
|===
| Name| Description
| *begin*
| address of the first character to write
| *end*
| address one past the last character to write
| *out*
| output iterator receiving the widened characters
|===


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