[#FormatParagraph]
= FormatParagraph
:mrdocs:

Format a paragraph of text to a fixed width, adding spaces for indentation to any added line&period;

== Synopsis

Declared in `&lt;util&sol;strencodings&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
FormatParagraph(
    std::string&lowbar;view in,
    size&lowbar;t width = 79,
    size&lowbar;t indent = 0);
----

== Return Value

The reflowed paragraph&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *in*
| The text to format&period;
| *width*
| The maximum line width in characters&period;
| *indent*
| Number of spaces to indent each wrapped line&period;
|===


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