[#bsl-basic_istringstream-getline-01]
= xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic&lowbar;istringstream]::getline
:relfileprefix: ../../
:mrdocs:

String extraction&period;

== Synopses

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

String extraction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;&lowbar;istream&lowbar;type&
xref:bsl/basic_istringstream/getline-0a.adoc[getline](
    char&lowbar;type* &lowbar;&lowbar;s,
    streamsize &lowbar;&lowbar;n);
----

[.small]#xref:bsl/basic_istringstream/getline-0a.adoc[_» more&period;&period;&period;_]#

String extraction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;&lowbar;istream&lowbar;type&
xref:bsl/basic_istringstream/getline-04.adoc[getline](
    char&lowbar;type* &lowbar;&lowbar;s,
    streamsize &lowbar;&lowbar;n,
    char&lowbar;type &lowbar;&lowbar;delim);
----

[.small]#xref:bsl/basic_istringstream/getline-04.adoc[_» more&period;&period;&period;_]#

== Return Value

&ast;this

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;s*
| A character array in which to store the data&period;
| *&lowbar;&lowbar;n*
| Maximum number of characters to extract&period;
| *&lowbar;&lowbar;delim*
| A &quot;stop&quot; character&period;
|===


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