[#BloombergLP-balb-CustomString-fromString]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/CustomString.adoc[CustomString]::fromString
:relfileprefix: ../../../
:mrdocs:

Convert from the specified `value` to this type&period; Return 0 if successful and non&hyphen;zero otherwise&period;

== Synopsis

Declared in `&lt;balb&lowbar;testmessages&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
fromString(xref:bsl/string.adoc[bsl::string] const& value);
----

== Return Value

0 if successful, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| string to convert
|===


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