[#bsl-operator_S-06]
= xref:bsl.adoc[bsl]::operator&quot;&quot;&lowbar;S
:relfileprefix: ../
:mrdocs:

`operator&quot;&quot;&lowbar;S` overloads

== Synopses

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

Create a file&hyphen;scope string from a user&hyphen;defined literal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/string.adoc[string]
xref:bsl/operator_S-033.adoc[operator&quot;&quot;&lowbar;S](
    char const* characterString,
    std::size&lowbar;t length);
----

[.small]#xref:bsl/operator_S-033.adoc[_» more&period;&period;&period;_]#

Create a file&hyphen;scope `wstring` from a user&hyphen;defined literal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/wstring.adoc[wstring]
xref:bsl/operator_S-039.adoc[operator&quot;&quot;&lowbar;S](
    wchar&lowbar;t const* characterString,
    std::size&lowbar;t length);
----

[.small]#xref:bsl/operator_S-039.adoc[_» more&period;&period;&period;_]#

== Return Value

string constructed from the character literal

== Parameters

[cols="1,4"]
|===
| Name| Description
| *characterString*
| pointer to the character sequence
| *length*
| number of characters excluding the null terminator
|===


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